mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 10:34:06 +09:00
Greek support, modular weather, command history for console window
Former-commit-id: b72d0b018c084e80cf4fef77e1b1a81101d6daea Former-commit-id: 32da6a2998826de6519a901dcff7bf058f689b2f
This commit is contained in:
46
res/raw/Creature_raw_doc.md
Normal file
46
res/raw/Creature_raw_doc.md
Normal file
@@ -0,0 +1,46 @@
|
||||
Creature raw documentation
|
||||
|
||||
## Physical properties ##
|
||||
|
||||
* 1 m = 24 px
|
||||
* mult: Multiplier. e.g. 1.0, 0.85, 1.25, ...
|
||||
|
||||
|name|unit|description|
|
||||
|----|----|-----------|
|
||||
|baseheight|pixels|Base height for hitbox. Also used for attack point bonus calculation|
|
||||
|basemass|kg|Base mass for creature|
|
||||
|accel|px per TARGET_FPS^2|Acceleration for walking|
|
||||
|speed|px per TARGET_FPS|Walk speed|
|
||||
|jumppower|neg. px per TARGET_FPS^2|Self-explanatory|
|
||||
|scale|unit|Creature body scale. Mass/strength/accel/etc. will be changed accordingly, hence the prefix “base” for some raw tokens|
|
||||
|dragcoeff|unit|Drag coefficient|
|
||||
|speedmult, accelmult, jumppowermult|array of percentiles (Int)|Variability factor|
|
||||
|physiquemult|mult|Breadth variation for mobs|
|
||||
|
||||
## Creature properties ##
|
||||
|
||||
|name|unit|description|
|
||||
|----|----|-----------|
|
||||
|strength|unit|Strength value, no significant unit is given. The value for regular human is fixed to 1 000|
|
||||
|encumbrance|kg or itemcount|Capacity of carrying|
|
||||
|basedefence|unit|Base defence value of body. Sterner body composition (material) == higher value|
|
||||
|armourdefence|unit|Current defence point of armour worn|
|
||||
|armourdefencemult|mult|Bonus point for armour defence|
|
||||
|toolsize|kg|Base tool size for the creature. See MECHANICS file for more information|
|
||||
|
||||
## Aesthetic properties ##
|
||||
|
||||
|name|unit|description|
|
||||
|----|----|-----------|
|
||||
|luminosity|30-bit RGB (Int)|Self-glow. Set to 0 for not glowing|
|
||||
|name|String|Given (perhaps customised) name|
|
||||
|racename|STRING_ID|Racename token in language CSV|
|
||||
|racenameplural|STRING_ID|Racename token in language CSV|
|
||||
|
||||
* Note: luminosity uses customised 30-bit RGB. The format specifies ```1.0``` luminosity of white (```#FFFFFF```) be ```0000_0011111111_0011111111_0011111111```, and can hold luminosity range of 0.0-4.0
|
||||
|
||||
## Flags ##
|
||||
|
||||
|name|unit|description|
|
||||
|----|----|-----------|
|
||||
|intelligent|Boolean|Whether the creature can speak and talk.|
|
||||
@@ -1,27 +0,0 @@
|
||||
Creature raw documentation
|
||||
|
||||
== string values ==
|
||||
|
||||
racename(plural) : Racename token in language CSV
|
||||
|
||||
baseheight : base height for hitbox. [px] (24 px == 1 metre)
|
||||
basemass : base mass for creature. [kg]
|
||||
|
||||
== number values ==
|
||||
|
||||
strength : strength value, no significant unit is given. The value for regular human is fixed to 1 000.
|
||||
accel : acceleration for walking. [px / TARGET_FPS^2]
|
||||
speed : walk speed. [px / TARGET_FPS]
|
||||
jumppower : self-explanatory. [-px / TARGET_FPS^2]
|
||||
scale : creature body scale. Mass/strength/accel/etc. will be changed accordingly, hence the prefix “base” for some raw tokens.
|
||||
|
||||
-mass : variability factor. [array of percentiles]
|
||||
|
||||
encumbrance : capacity of carrying. [kg]
|
||||
basedefence : base defence value of body. Sterner body material == higher value
|
||||
|
||||
toolsize : base tool size for the creature. See MECHANICS file for more information.
|
||||
|
||||
== boolean values ==
|
||||
|
||||
intelligent : can speak and talk.
|
||||
@@ -1,28 +1,28 @@
|
||||
{
|
||||
"racename" : "RACE_HUMAN",
|
||||
"racenameplural" : "RACE_HUMAN_PLURAL",
|
||||
"baseheight" : 40,
|
||||
"basemass" : 60.0,
|
||||
"racename": "RACE_HUMAN",
|
||||
"racenameplural": "RACE_HUMAN_PLURAL",
|
||||
"baseheight": 40,
|
||||
"basemass": 60.0,
|
||||
|
||||
"strength" : 1000,
|
||||
"strengthmult" : [100,100,100,100,100,100,100],
|
||||
"strength": 1000,
|
||||
"strengthmult": [100,100,100,100,100,100,100],
|
||||
|
||||
"accel" : 0.32,
|
||||
"accel": 0.32,
|
||||
|
||||
"speed" : 3.0,
|
||||
"speedmult" : [100,100,100,100,100,100,100],
|
||||
"speed": 3.0,
|
||||
"speedmult": [100,100,100,100,100,100,100],
|
||||
|
||||
"jumppower" : 4.3,
|
||||
"jumppowermult" : [100,100,100,100,100,100,100],
|
||||
"jumppower": 4.3,
|
||||
"jumppowermult": [100,100,100,100,100,100,100],
|
||||
|
||||
"scale" : 1.0,
|
||||
"scalemult" : [100,100,100,100,100,100,100],
|
||||
"scale": 1.0,
|
||||
"physiquemult": [100,100,100,100,100,100,100],
|
||||
|
||||
"encumbrance" : 1000,
|
||||
"basedefence" : 100,
|
||||
"encumbrance": 1000,
|
||||
"basedefence": 100,
|
||||
|
||||
"toolsize" : 15,
|
||||
"toolsize": 15,
|
||||
|
||||
"intelligent" : true
|
||||
"intelligent": true
|
||||
|
||||
}
|
||||
8
res/raw/weathers/WeatherGeneric.json
Normal file
8
res/raw/weathers/WeatherGeneric.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"globalLight": "generic_light.png",
|
||||
"skyboxGradColourMap": "generic_skybox.png",
|
||||
"classification": "generic",
|
||||
"extraImages": [
|
||||
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user