1
DF Modding / Re: 12 x 12 Graphics / Tiles
« on: July 11, 2011, 12:45:37 pm »
That is actually one of the best composed tilesets I've ever seen. It smacks of old pixeling and just clicks in an extraordinarily clean way. Good job.
March 6, 2024: Dwarf Fortress 50.12 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
I've noted the start and ending blocks thing before (in the modding forum). It's pretty non-intuitive.
I'd like to gently nudge people away from XML for things like this, as it is intended primarily for machine consumption, rather than human. Something like YAML would be better, as it is less verbose and easier to understand and edit by hand.Code: [Select]---
entity: # mapping civilization name to civilization values
MOUNTAIN:
creature: DWARF
# skipping stuff...
ethic: # mapping actions to societal responses.
ASSAULT: PUNISH_SERIOUS
MURDER: PUNISH_CAPITAL
LYING: [PUNISH_SERIOUS, EQUITY] # a list of responses
# skipping remainder...
FOREST:
creature: ELF
# skipping remainder...
...
Unfortunately, if you drop into creature raws for a bit, there are non-data tags--doing things like tree traversal and queries against already processed data--which makes representing the data in a purely hierarchical format not impossible, but not simple.
[ETHIC:ASSAULT:PUNISH_SERIOUS]
[ETHIC:MURDER:PUNISH_CAPITAL]
<Ethic type="ASSAULT" value="PUNISH_SERIOUS"></Ethic>
<Ethic type="MURDER" value="PUNISH_CAPITAL"><\Ethic>
<Ethics>
<Assault value="PUNISH_SERIOUS"></Assault>
<Murder value="PUNISH_CAPITAL"></Murder>
</Ethics>
[ETHICS:
ASSAULT:PUNISH_SERIOUS:
MURDER:PUNISH_CAPITAL]
[ETHIC:ASSAULT:PUNISH_SERIOUS]
[ETHIC:LYING:PUNISH_SERIOUS:EQUITY]
[ETHIC:MURDER:PUNISH_CAPITAL]
[ETHICS:
ASSAULT:PUNISH_SERIOUS:
LYING:PUNISH_SERIOUS:EQUITY:
MURDER:PUNISH_CAPITAL]
[ETHICS:START]
[ASSAULT:PUNISH_SERIOUS]
[LYING:PUNISH_SERIOUS:EQUITY]
[MURDER:PUNISH_CAPITAL]
[ETHICS:END]
I've always thought that fluids should have some sort of "energy" on the tile representing the flow (energy of 0 being stagnant water, brooks might be 4, major rivers 10, whatever).
Realistically they should, but that makes the fluid physics massively more complicated.