Some general information about adding/editing game elements (skills, ships, ships modules, etc.)
To add new things (items, ships, modules, etc) to the game, you must create a new directory inside the game's mod directory which is data/mods by default.
For example, create the directory mymod as data/mods/mymod and place your work in a file or files with the extension dat patterned similarly to the structure of the shipped files there.
For example, to add a new item to game, create a file which looks like data/items.dat.
Below you will find more detailed information about the XML data structures used by the program.
You can edit the shipped files as well of course, but modification you make there will be overwritten when you update the game.
- Open file game.dat in data directory or even better, create a new file in modifications directory.
- A file providing new items must start with tag
data
. Each item type is one line entry with tagitemtype
. Structure your work on what you see in the data/game.dat file.
- By editing the data/game.dat file you can change the name of an existing
item type by changing the
value
attribute. The maximum length is 64 characters. - When editing your custom file: you need to remove first selected item type, then add new.
- Item types are referenced in the specifications of items and recipes. Don't forget to change any references to your type in these files as well.
- Add a new item type, by appending a new line with tag
itemtype
. Store the Name of your new type in thevalue
attribute. The maximum length is 64 characters. - All Gun ammunition must have a name beginning with
Ammo
, for example: Ammo150. - All Harpoon Gun Ammunition types must have a name beginning with
Harpoon
. - There can be maximum 128 types of items in the game.
- You can remove item types from data/game.dat by removing their tag.
- Alternatively, your mod may have a
remove
tag with the attributesname
set toitemtype
andvalue
set to the name of type to be removed. - After deleting item types, don't forget remove any references to it in other data files.
- To add/remove/change characters attributes, open the file game.dat in
data directory or better, create a new file in modifications directory. New
file must start with
data
tag. - Each attribute starts with the tag
attribute
. Attributename
is the name of the selected attribute. Value betweenattribute
tags is a description of the attribute. Example Nimbleness of character, used in many crafts. - After changing/removing attribute/s, don't forget to make the proper changes in the game data.
- The maximum length of the name of the attribute is 64 characters and for the attribute's description it is 512 characters.
- There can be maximum 16 attributes declared in the game.
- If editing game.dat file: just change the selected value of the attribute.
- If editing your own file: you need to remove first selected attribute then add new.
- To edit the attribute name, just edit value of the attribute
name
. - To change the attribute's description, just edit the text between
attribute
tags.
8 To add a new attribute, just append a new line with tag attribute
with
its name as attribute name
and description between tags attribute
. Same
for game.dat file and your own file.
8 In game.dat file: Just delete the selected attribute entry.
8 In own file: Append new line with tag remove
which have attribute's name
set to attribute
and value with name of attribute which will be removed.
- Open the game.dat file in the data directory to add/remove/change skills, or even better, create a new file in the modifications' directory.
- Each skill starts with tag
skill
. - Attribute
name
is the name of the selected skill. The maximum length of the name of the skill is 64 characters. - Attribute
attribute
is the name of the character's attribute (must be defined earlier in this same file). - Optional attribute
tool
is item type used as tool during training (must be defined earlier in this same file). - After changing/removing the skill, you need to make the proper changes in other game data files (recipes, items and this same file) if needed.
- Optional tag
description
is the description of the skill showed to a player. The maximum length of the skill's description is 512 characters. - Optional tags
toolquality
contains information on tool quality needed to train the selected skill on the selected level. Attributelevel
mean maximum level on which the selected tool quality is used. Attributequality
mean minimum required tool quality (at this moment, chance of the tool to break) required for that level of skill. Thus values level="50" and quality="5" means if skill is at level 50 or below use tools with quality 5 or less. The maximum amount of the tools qualities entries is 16. - There can be maximum 64 skills declared in the game.
- If editing game.dat file: just change the selected value of the skill/s.
- If editing a custom file: you need to remove the first selected skill and then add new.
- To change a skill's name, edit the value of
name
attribute of the selected skill. - To change assigned attribute to selected skill enter the new name in attribute
attribute
. The Name must be an existing attribute name, defined earlier in game.dat file. - To change skill description, just edit the text between
description
tags. - To change assigned tool, edit value of
tool
attribute of the selected skill. Tool must be an existing item type, defined earlier in game.dat file.
- To add a new skill, just append a new line with tag
skill
with its name as attributename
, assigned attribute's skill as attributeattribute
, assigned item type's training tool as attributetool
and description between tagsdescription
.
- In game.dat file: Delete the selected skill entry.
- In custom file: Append new line with tag
remove
which has attribute'sname
set toskill
and value with name of skill which will be removed.
All changes below (to Skills) are made in game.dat file or custom file inside
modification directory. Custom file must start with data
tag. If you want to
overwrite default value in own file, just add new line with proper tag and
attributes.
To change which item type is used for repair/upgrading tools, edit value
attribute of tag repairtools
. Value must be an existing item type.
To change which item type is used for the cleaning ship, edit value
attribute of
tag cleaningrools
. Value must be an existing item type.
To change which item type is used for the deconstructing of items, edit value
attribute
of tag alchemytools
. Value must be an existing item type.
To change which item is used as a body for dead, edit value
attribute of tag
corpseindex
. Value must be existing item index from any items file.
To change which item type is used for delivery missions, edit value
attribute
of tag missionitemstype
. Value must be an existing item type.
To change which item type is used as a fuel for ship, edit value
attribute of
tag fueltype
. Value must be an existing item type.
To change which item is used as currency in the game, edit value
attribute of tag
moneyindex
. Value must be an existing item index from any items file.
To change which word in ship names is used to determine a trader ship (needed for
friendly trader random event), edit value
attribute for tag tradersname
.
Value can be any single word (but this word must be in trader ships names).
To change which attribute is used to raise a character's condition, edit attribute
value
of tag conditionname
. Value must be an existing attribute name.
To change which attribute is used to count a character's maximum encumbrance, edit
attribute value
of tag strenghtname
. Value must be an existing attribute name.
To change which skill is used for the piloting of ships, edit value
attribute of tag
pilotingskill
. Value must be an existing skill name.
To change which skill is used for engineering duty, edit value
attribute of
tag engineeringskill
. Value must be an existing skill name.
To change which skill is used for the operation of guns on ships, edit value
attribute of tag gunneryskill
. Value must be an existing skill name.
To change which skill is used for talking in bases or with other ships (trades,
repairs, recruit, etc), edit value
attribute of tag talkingskill
. Value
must be an existing skill name.
To change which skill is used for spotting things (other ships, etc), edit
value
attribute of tag perceptionskill
. Value must be an existing skill name.
To change which item type is used as a head armor for characters, edit value
attribute of tag headarmor
. Value must be an existing item type.
To change which item type is used as a torso armor for characters, edit value
attribute of tag chestarmor
. Value must be an existing item type.
To change which item type is used as arm armor for characters, edit value
attribute of tag armsarmor
. Value must be an existing item type.
To change which item type is used as leg armor for characters, edit value
attribute of tag legsarmor
. Value must be an existing item type.
To change which item type is used as a shield for characters, edit value
attribute of tag shieldtype
. Value must be an existing item type.
To change which item type is used as a weapon by characters, edit value
attribute of tag weapontype
. Value must be an existing item type.
To change which skill is used for dodging in combat, edit
value
attribute of tag dodgeskill
. Value must be an existing skill name.
To change which skill is used for chance to hit enemy in combat
when a character doesn't have a weapon, edit value
attribute of tag unarmedskill
.
Value must be an existing skill name.
- Default game items are in items.dat file which is in data directory.
- If you want to remove or update any existing item, you can do it in items.dat
file in data directory or in modification file (better option) add tag
item
with attributeindex
which value will be the index of selected item and attributeaction
. Then, if you modify an existing item, add changed values. - There can be maximum 512 items' prototypes declared in the game.
- Each item starts with tag
item
. - Attribute
index
is the item index (it can be a number or text) and must be unique. This value is used in ships and recipes data entries. The maxium length of the attribute is 64 characters. - Optional attribute
action
: What to do with this item. Possible values are: "add" (add this item, default option), "remove" (remove this item) or "update" (update selected item). name
attribute: Name of item displayed in various places (cargo info, crafting, etc.). The maximum length is 64 characters.- Attribute
weight
: Weight of one item in kilograms - Attribute
type
: Item type of item (from game.dat file, entry ItemsTypes). The maximum length is 64 characters. - Attribute
showtype
: optional attribute. If you want to show item type in game (for example in cargo or in trade screen) different from item type from game.dat file, you can set this parameter to any text value. The maximum length is 64 characters. - Attribute
price
is price of the item. If you want that item will be not possible to buy or sell in bases, set it price to 0. - Optional attribute
reputation
: Minimal reputation in bases needed to buy that item from them. Default value is -100 (available in all bases). - Tag
data
: optional tag. Each tag is one value. For items used as food for example, it is the value of hunger reduced by one portion. For items used as drinks, it's the value of thirst reduced by one portion. For both types, the second value is the amount of morale gained for eat or drink the item. For ammunition, the first value is damage done by that ammunition, second is ammunition type (1 - normal, 2 - piercing, 3 - exploding). For working tools, it is the chance for the item to be damaged during work. For harpoon guns ammunition, it is how long (in combat turns) item will be stuck in the enemy ship. For weapons and armor pieces, the first value is the chance of the item being damaged during combat, second entry for weapons is damage done by weapon and for armor, it is the amount of damage reduced by this armor. Third entry for weapons is the number of skill used by this weapon (from game.dat file, entry Skills) and for armor is amount of levels of dodge skill which this armor reduces when worn. Forth entry for weapon is the amount of hands used (1 for one-handed, 2 for two-handed weapons). Fifth entry for weapon is damage type (1 - cutting damage, 2 - impaling damage, 3 - blunt damage). - Tag
description
: In game description of the item. Can have any value. The maximum length is 512 characters.
- Default game crafting recipes are in recipes.dat file which is in data directory.
- If you want to remove or update any existing recipe, you can do it in
recipes.dat file in data directory or in modification file (better
option) add tag
recipe
with attributeindex
which value will be the index of selected recipe and attributeaction
. Then, if you modify an existing recipe, add changed values.
- Each recipe starts with tag
recipe
. - Attribute
index
is a recipe index (it can be a number or text) and must be unique. This value is used at this moment for set starting recipes and in Craft types of goals. The maximum length of the index is 64 characters. - Optional attribute
action
: What to do with this recipe. Possible values are: "add" (add this recipe, default option), "remove" (remove this recipe) or "update" (update selected recipe). - Tag
material
contains data about material used to craft recipe. If you want to add more materials to recipe, just add new tagmaterial
with proper data.- Attribute
type
is item type of material need for recipe. The maximum length is 64 characters. - Attribute
amount
is amount of crafting materials needed for recipe. Zero value for updating recipe means that this material should be removed.
- Attribute
- Attribute
result
: Item index which will be produced by recipe (you can check this index in items directory). - Attribute
crafted
: Amount of items crafted from one recipe. - Attribute
workplace
: Type of ship module in which recipe is made. Available options are: Alchemy_Lab, Furnace, Water_Collector, Workshop, Greenhouse - Attribute
skill
: Name of skill used during crafting selected recipe (skills names are in game.dat file). - Attribute
tool
: Type of item used as tool in crafting selected recipe (items types are in game.dat file). The maximum length is 64 characters. - Attribute
difficulty
: optional attribute. How complicated recipe is. Should be between 1 and 100. - Attribute
time
: optional attribute. How long in minutes take crafting selected recipe. If not set, it takes 15 minutes. - Optional attribute
reputation
: Minimal reputation in bases needed to buy that recipe from them. Default value is -100 (available in all bases). - Optional attribute
toolquality
: Minimal quality of tool needed to craft that recipe. At this moment "quality" means chance to break for the selected tool. For example, value 5 means tools with chance to break 5 or less. Default value is 100 (any tool)
- Default game ship modules are in shipmodules.dat file which is in data directory.
- If you want to remove or update any existing ship module, you can do it in
shipmodules.dat file in data directory or in modification file (better
option) add tag
module
with attributeindex
which value will be the index of selected ship module and attributeaction
. Then, if you modify an existing ship module, add changed values. - There can be maximum 1024 modules' prototypes declared in the game.
- Each ship module starts with tag
module
. - Attribute
index
is a module index (it can be a number or text) and must be unique. This value is used in ships data entries. The maximum length of the index is 64 characters. - Optional attribute
action
: What to do with this module. Possible values are: "add" (add this module, default option), "remove" (remove this module) or "update" (update selected module). - Attribute
name
: Standard name of module. Will be visible in ship info screen and in shipyards. The maximum length of the name is 64 characters. The maximum length of the name is 64 characters. - Attribute
type
: Type of module. Available options are: Engine, Cabin, Cockpit, Turret, Gun, Cargo, Hull, Armor, Battering_ram, Alchemy_Lab, Furnace, Water_Collector, Workshop, Greenhouse, Medical_room, Harpoon_Gun, Training_Room - Attribute
weight
: Weight of module in kilograms. - Attribute
value
: Depends on type of module. For 'Engine' it is fuel usage for travel by one map field. For 'Cabin' it is the value of reduced tiredness of the owner who rests there. For 'Gun' or 'Harpoon_Gun' it is the index of the item type used as ammunition (item types are in game.dat file). For 'Hull' it is maximum allowed size of installed modules. For any other type of modules should be 0. - Attribute
maxvalue
: Depends on type of module. For 'Hull' it is max free module space. For 'Engine' it is engine power. In 'Cargo' it is maximum capacity in kilograms of cargo for that module. For 'Gun', 'Battering_ram' it is the amount of damage done by selected weapon. For 'Harpoon_Gun' it is amount of combat rounds of how long the harpoon is stuck in enemy ship. ForCabin
it must be that same as "value" attribute. For any other type of modules should be 0 (zero). - Attribute
durability
: Base durability of module. How much damage module can take before will be destroyed. - Attribute
material
: Type of item which will be used to repair or upgrade module. - Attribute
skill
: Name of skill which will be used during repair or upgrading module. - Attribute
price
: Base buy or sell price of module in shipyard. - Attribute
installtime
: How long in minutes take install/remove selected module from ship. - Optional attribute
unique
: If set to 'Y' then each ship can have only one module of that type. - Optional attribute
size
: Amount of hull module space used by module. For guns and harpoon guns it is minimum size of turret needed for that gun or harpoon gun. Minumum value is 1, maximum 10. - Optional attribute
maxowners
: How many owners or workers (for workshop's types of modules) the module can have. Default and minimum value is 0. Maximum value is 10. - Optional attribute
speed
: For guns, how many times in one combat round this gun shoots. Default value is 4. Values below 0 means that the gun shoot once in few rounds. For example, -3 mean the gun shoot once per 3 rounds. - Optional attribute
reputation
: Minimal reputation in bases needed to buy that module from them. Default value is -100 (available in all bases). - Text between
module
tags is module description. The maximum length of the description is 512 characters.
- Default game ships are in ships.dat file which is in data directory.
- If you want to remove or update any existing ship, you can do it in ships.dat
file in data directory or in modification file (better option) add tag
ship
with attributeindex
which value will be the index of selected ship and attributeaction
. Then, if you modify an existing ship, add changed values. - The maximum length of the ship's description is 512 characters.
- Each ship is between
ship
tags. - Attribute
index
is an index (it can be only a number) and must be unique. This value is used at this moment to set player ship and in Destroy types of goals and in creating a new ships in the game. - Optional attribute
action
: What to do with this ship. Possible values are: "add" (add this ship, default option), "remove" (remove this ship) or "update" (update selected ship). - Attribute
name
: Type of ship. Will be visible during combat information. If you want that ship will be used in friendly trader random event, you must set the word which you set in game.dat as TraderNames in ship name. Example: if you use trader word, ship name can be small poleis' trader. The maximum length of the name is 64 characters. - Tags
module
: List of ship modules installed on selected ship.- Attribute
index
is module index from files from shipmodules directory. - Attribute
amount
is optional: If ship should have more than one that module, just add attributeamount
with number of modules. - Optional attribute
action
: What to do with this module. Possible values are: "add" (add this module, default option) or "remove" (remove this module).
- Attribute
- Attribute
accuracy
: Bonus to accuracy for ship. - Attributes
minaccuracy
andmaxaccuracy
: If bonus to accuracy for ship should be random, add attributeminaccuracy
for minimum value andmaxaccuracy
for maximum value. - Attribute
combatai
: Behavior of ship in combat (NPC ships only). Possible values are: Berserker - attacks all time, no matter how heavy damage it take. Attacker - aggressive but will be run away from combat when lost all ammunition or weapons. Coward - try to run from combat, attacks only in self-defense. Disarmer - same as Attacker but first aim for player ship weapons before start destroying ship, and it shoots with lower fire rate than others AI's. Additionally, each behavior determine when the enemy will start escaping from the combat, from fastest to longest: Disarmer, Attacker, Berserker. - Attribute
evasion
: Bonus to evasion for ship. - Attributes
minevasion
andmaxevasion
: If bonus to evasion for ship should be random, add attributeminevasion
for minimum value andmaxevasion
for maximum value. - Attribute
loot
: Amount of money earned for destroying that ship. - Attributes
minloot
andmaxloot
: If amount of earned money for destroying that ship should be random, add attributeminloot
for minimum value andmaxloot
for maximum value. - Attribute
perception
: Bonus to perception for ship. - Attributes
minperception
andmaxperception
: If bonus to perception for ship should be random, add attributeminperception
for minimum value andmaxperception
for maximum value. - Tags
cargo
: List of items in cargo of ship. Each ship can contain max 32 different items- Attribute
index
is index of item from files from items directory. If amount of that item should be constant, add attributeamount
with proper value. If amount of that item should be random, add attributesminamount
with minimum amount and attributemaxamount
with maximum amount of that item. The maximum amount of the selected item in the cargo is 100_000. - Optional attribute
action
: What to do with this item. Possible values are: "add" (add this item, default option), "remove" (remove this item) or "update" (update selected item).
- Attribute
- Tag
description
: Description of ship (NPC ships only). Will be displayed during combat. - Attribute
owner
: Which fraction own ship. Possible values are: Poleis, Independent, Pirates, Undead, Drones, Inquisition. - Tags
recipes
: List of know recipes. (player ships only).- Attribute
index
is recipe index from files from recipes directory. - Optional attribute
action
: What to do with this recipe. Possible values are: "add" (add this recipe, default option) or "remove" (remove this recipe).
- Attribute
- Tags
member
: List of crew members.- Attribute
index
is mobile index from files form mobs directory. If ship should have more than one that same mobile in crew, add attributeamount
. If ship should have more than one that same mobile and amount should be random, add attributesminamount
for minimum amount of that mobile and attributemaxamount
for maximum amount of that mobile. - Optional attribute
action
: What to do with this memeber. Possible values are: "add" (add this member, default option), "remove" (remove this member) or "update" (update selected member).
- Attribute
- Default game help entries are in help.dat file which is in data directory.
- If you want to remove or update any existing help topic, you can do it in
help.dat file in data directory or in modification file (better option)
add tag
entry
with attributeindex
which value will be the index of selected help topic and attributeaction
. Then, if you modify an existing help topic, add changed values.
- Each help entry is between
entry
tags. - Attribute
index
is the help index, used mostly in showing help for selected part of the game. It can be a number or text. - Attribute
title
is help menu entry in main help menu. It can be number or text. - Optional attribute
action
: What to do with this entry. Possible values are: "add" (add this entry, default option), "remove" (remove this entry) or "update" (update selected entry). - Text between tags
entry
is help entry text visible when player selects this option from help menu. - Inside help text you can use special variables which later will be replaced
by proper keys names. All that variables have name
{GameKey [number]}
where[number]
is between 1 and 25 (example:{GameKey 9}
). Proper game keys in order: move ship up/left, move ship up, move ship up/right, move ship left, move ship one field or wait 1 minute, move ship right, move ship down/left, move ship down, move ship down/right, move ship to destination, show ship info, show ship orders, show crafting menu, show last messages, show knowledge info, move map position, show game statistics, show help, show game options, quit from game, resign from game, show menu, show wait orders, zoom out, zoom in. Example:{GameKey 10}
will be translated to key used for auto move ship. - Inside help text you can use special variables:
{MoneyName}
which later will be replaced with name of game money,{FuelName}
which later will be replaced with name of fuel for ship,{StrengthName}
which later will be replaced with name of attribute used to count max character encumbrance,{PilotingSkill}
which later will be replaced with name of skill used for piloting ship,{EngineeringSkill}
which later will be replaced with name of skill used by ship engineer,{GunnerySkill}
which later will be replaced with name of skill used to operate guns on ship,{TalkingSkill}
which later will be replaced with name of skill used to talk in bases or with other ships,{PerceptionSkill}
which later will be replaced with name of skill used to notice other ships,{ConditionName}
which later will be replaced with name of attribute used to raise crew member condition,{DodgeSkill}
which later will be replaced with name of skill used to dodge enemy attacks in character's combat,{UnarmedSkill}
which later will be replaced with name of skill used when character fight without weapon. - Inside help text you can use some tags for formatting text:
{u}some text{/u}
for add underline for text,{b}some text{/b}
to made bold characters and{i}some text{/i}
for italic font. - Inside help text you can use special variables
diseaseimmune
,nofatigue
,nomorale
,naturalarmor
,toxicattack
,sentientships
,fanaticism
,loner
which later will be replaced by list of factions which have set selected flag. - Inside help text you can use special variables
shipyard
,temple
,blackmarket
which later will be replaced by list of bases types which have set selected flag.
- Default game goals are in goals.dat file which is in data directory.
- If you want to remove or update any existing goal, you can do it in goals.dat
file in data directory or in modification file (better option) add tag
goal
with attributeindex
which value will be the index of selected goal and attributeaction
. Then, if you modify an existing goal, add changed values.
- Each goal starts with tag
goal
. - Attribute
index
is index of goal (it can be a number or text) and must be unique. At this moment this value is used to set/update goal in game. - Optional attribute
action
: What to do with this goal. Possible values are: "add" (add this goal, default option), "remove" (remove this goal) or "update" (update selected goal). - Attribute
type
: Type/category of goal which define what is needed to do for finish selected goal. Possible values: Reputation - gain max reputation in X bases, Destroy - destroy X ships, Discover - discover X fields of map, Visit - visit (discover) X bases, Craft - craft X items, Mission - Finish X missions, Kill - Kill X enemies in melee combat. - Attribute
amount
: Amount of target for selected goal to do for finishing it. For example 100 ships to destroy, etc. - Attribute
target
: Optional attribute, ignored for Discover type, exact target for goal, depends on type of goal. Possible values: for Reputation and Visit, bases owners names: Poleis, Independent, Pirates, Undead, Drones, Inquisition. For Destroy, any enemy ship index (from ships directory) or owners names: Poleis, Independent, Pirates, Undead, Drones, Inquisition. For Craft, recipe index (from recipes directory), Type or ShowType (from items directory). For Mission, missions types: Deliver for deliver item to bases, Destroy for destroy enemy ship, Patrol for patrol missions, Explore for explore missions, Passenger for transport passengers missions. For Kill, enemy fraction name: Poleis, Independent, Pirates, Undead, Drones, Inquisition. - Attribute
multiplier
: Optional attribute, multiplier for amount of game points earned by finishing this goal. Default value is 1, which mean goal give attributeamount
of points for finish it.
- Default game mobiles are in mobs.dat file which is in data directory.
- There can be maximum 256 mobiles' prototypes declared in the game.
- If you want to remove or update any existing mobile, you can do it in mobs.dat
file in data directory or in modification file (better option) add tag
mobile
with attributeindex
which value will be the index of selected mobile and attributeaction
. Then, if you modify an existing mobile, add changed values.
- Each mobile starts with tag
mobile
. - Attribute
index
is a mobile index, it have to be a number and must be unique. At this moment this value is used to set crew on ships. - Optional attribute
action
: What to do with this mobile. Possible values are: "add" (add this mobile, default option), "remove" (remove this mobile) or "update" (update selected mobile). - Attribute
order
: current ship order of selected mob. Possible values are: Pilot, Engineer, Gunner, Repair, Craft, Upgrading, Talk, Heal, Clean, Rest, Defend, Boarding. - Tag
skill
define skill of mobile.- Attribute
name
is name of skill (from game.dat from data directory). When the name is set to "WeaponSkill" it will be later replaced by proper weapon skill depending on mobile faction. - Optional attribute
action
: What to do with this skill. Possible values are: "add" (add this skill, default option), "remove" (remove this skill) or "update" (update selected skill). - If mobile should have constant level of skill, add attribute
level
with level of selected skill. If mobile should have random level of skill, add attributeminlevel
with minimum level of skill and attributemaxlevel
with maximum level of skill.
- Attribute
- Tag
attribute
define attribute of mobile. If mobile should have constant level of attribute, add attributelevel
with level of selected attribute. If mobile should have random level of attribute, add attributesminlevel
with minimum level of attribute and attributemaxlevel
with maximum level of attribute. When you want update attribute of mob, you must add all attributes values. - Tag
priority
define orders priorities of mobile. Attributename
can have value: Piloting, Engineering, Operating guns, Repair ship, Manufacturing, Upgrading ship, Talking in bases, Healing wounded, Cleaning ship, Defend ship, Board enemy ship. Attributevalue
can have value Normal or High (only one High per mobile). - Tag
item
define item in mobile inventory. Each mobile can have max 32 different items.- Attribute
index
is index of item from files (from items.dat file from data directory). - If mobile should have constant amount of item, add attribute
amount
with amount of item. If mobile should have random amount of item, add attributeminamount
with minimum amount of item and attributemaxamount
with maximum amount of item. The maximum value for each amount parameter is 100_000. - Optional attribute
action
: What to do with this item. Possible values are: "add" (add this item, default option), "remove" (remove this item) or "update" (update selected item).
- Attribute
- Tag
equipment
define which items are used by mobile. If mob will not have set an item in equipment slot, it will be generated randomly based on its skills and faction. In that situation, here is small chance that mob will not have any equipment in selected slot.- Attribute
index
is item index from inventory. Item index always starts with 1. - Attribute
slot
is name of equipment slot in which selected item is set. Possible values forslot
: Weapon, Shield, Head, Torso, Arms, Legs, Tools.
- Attribute
- Default game factions are in factions.dat file which is in data directory.
- If you want to remove or update any existing faction, you can do it in
factions.dat file in data directory or in modification file (better
option) add tag
faction
with attributeindex
which value will be the index of selected recipe and attributeaction
. Then, if you modify an existing recipe, add changed values.
- Each faction is between
faction
tags. - Attribute
index
: Index of faction (it can be a number or text) and must be unique. At this moment this value is used to create bases during starting new game and to determine which ships are enemies or friends. Its maximum length is 64 characters. - Optional attribute
action
: What to do with this faction. Possible values are: "add" (add this faction, default option), "remove" (remove this faction) or "update" (update selected faction). - Attribute
name
: Name of factions displayed in game. Can be any text and have to be unique. Its maximum length is 64 characters. - Attribute
membername
: Name of single mobile from this faction. Can be any text. - Attribute
pluralmembername
: Plural of name of mobiles from this faction. Can be any text. - Attributes
spawn
: chance to that newly created sky base will be owned by that faction. Value of these attributes is roll on dice with sum ofspawn
attributes of all factions. For example if there will be 2 factions, one withspawn
= 50 and second withspawn
= 20 then if roll on dice 70 will be equal or lower to 50 it will be first faction base, when between 51 and 70 it will be second faction base. - Attributes
population
,minpopulation
andmaxpopulation
: starting population of base owned by that faction. If it should be constant value, use attributepopulation
. If it should be random value, use attributeminpopulation
for minimum population andmaxpopulation
for maximum population. Minimum value is 0. - Optional attribute
namestype
: Used in generating ship names of that faction and names of all bases. Can bestandard
(default value) orrobotic
. - Attribute
healingtools
: Name of item type used to healing members of that faction and in diseased bases events. Must be valid item type from data/game.dat file. - Attribute
healingskill
: Name of skill used to healing members of that faction. Must be valid skill name from data/game.dat file - Attribute
baseicon
: hexadecimal number of character used as base icon for this faction on map. Must be valid UTF-8 character from current map font. - Attribute
weaponskill
: Name of skill used by favorite weapon of that faction. Must be valid skill name from data/game.dat file. - Tags
relation
: Relation of this faction with other faction. All factions must have this tags for each faction (even for self).- Optional attribute
action
: What to do with this relation. Possible values are: "add" (add this relation, default option) or "update" (update this relation). - Attribute
faction
is faction index to which relation will be set. - Attributes
minreputation
,maxreputation
,reputation
: starting reputation with selected faction. If it should have random reputation, use attributeminreputation
for minimum level of reputation andmaxreputation
for maximum level of reputation. If it should be constant reputation, use attributereputation
. Minimum value is -100 and maximum is 100. - Attribute
friendly
: did selected faction is friendly to this faction. ValueY
meansYes
, valueN
meansNo
. Used mostly to generate enemy ships.
- Optional attribute
- Tag
description
: In game description of item. Can have any value. - Tags
foodtype
: Types of items used as food by this faction members. If nofoodtype
tags inside faction, that faction members can't be hungry.- Attribute
name
: Name of item type used as food. Must be valid item type from data/game.dat file. - Optional attribute
action
: What to do with this food. Possible values are: "add" (add this food, default option) or "remove" (remove this food).
- Attribute
- Tags
drinktype
: Types of items used as drink by this faction members. If nodrinktype
tags inside faction, that faction members can't be hungry.- Attribute
name
: Name of item type used as food. Must be valid item type from data/game.dat file. - Optional attribute
action
: What to do with this drink. Possible values are: "add" (add this drink, default option) or "remove" (remove this drink).
- Attribute
- Tags
flags
: Various info about faction (optional tag).- Attribute
name
: Name of flag. Possible values:nogender
faction don't have genders and use male names as default,diseaseimmune
faction members cannot become ill, no disease event for this faction,nofatigue
faction members don't get tired so, they can't rest and regenerate health,nomorale
faction members don't have morale (and bonuses from it),naturalarmor
faction members get half of damage in melee combat,toxicattack
faction members do more damage when attack without weapon to enemies who are not resistant to diseases (factions withoutdiseaseimmune
flag),sentientships
faction ships don't need a pilot and an engineer (they are optional),fanaticism
faction members gain faster morale and lose it slower than other factions,loner
bases of that faction are not grouped near self. - Optional attribute
action
: What to do with this flag. Possible values are: "add" (add this flag, default option) or "remove" (remove this flag).
- Attribute
- Tags
career
: Available careers for player when choice this faction. Text between tags is description of career visible in new game setting. If faction don't have any available career then it is unavailable for player.- Attribute
index
: Index of career. Must be an existing career index from data/careers.dat file. - Optional attribute
action
: What to do with this career. Possible values are: "add" (add this career, default option), "remove" (remove this career) or "update" (update selected career). - Attribute
playerindex
: Index of mobile used for starting player character, when he/she will choose this career. Value must be an existing mobile index from any mobiles file. - Attribute
shipindex
: Index of ship used for starting player ship when he/she will choose this career. Value must be an existing ship index from any ships file. - Attribute
name
: optional attribute. Specific name of career for this faction. Will be show to player instead of default name.
- Attribute
- Tags
basetype
: Available base types for this faction. If you don't add any that tag, all bases types available in the game will be available for that faction.- Attribute
index
: Index of the base type from data/bases.dat file. - Attribute
chance
: chance to that newly created sky base will be this type. Value of this attribute is roll on dice with sum of "chance" attributes of all bases types available for this faction. For example if there will be 2 base types, one with "chance" = 50 and second with "chance" = 20 then if roll on dice 70 will be equal or lower to 50 it will be first base type, when between 51 and 70 it will be second base type.
- Attribute
- Default game stories are in stories.dat file which is in data directory.
- If you want to remove or update any existing story, you can do it in
stories.dat file in data directory or in modification file (better
option) add tag
story
with attributeindex
which value will be the index of selected ship and attributeaction
. Then, if you modify an existing ship, add changed values.
- Each story is between "story" tags.
- Attribute
index
: Index of story (it can be a number or text) and must be unique. At this moment this value is used to manage current story in which player is involved. - Optional attribute
action
: What to do with this story. Possible values are: "add" (add this story, default option), "remove" (remove this story) or "update" (update selected story). - Attribute
start
: condition which must be met to start that story. Possible values are: dropitem - story starts on drop selected item from enemies from selected faction. - Attribute
minsteps
: minimum amount of steps in that story. - Attribute
maxsteps
: maximum amount of steps in that story. - Attribute
startstep
: Index of step which will be used as first step in story. - Attribute
finalstep
: Index of step which will be used as final step in story. - Tags
startdata
: contains data needed for story starting condition. For "dropitem" it will be the index of item which should drop, mob faction from which item will be dropped, chance (1 to that number) for drop.- Optional attribute
action
: What to do with this entry. Possible values are: "add" (add this entry, default option) or "remove" (remove this entry).
- Optional attribute
- Tag
endtext
: text which will be show to player when he/she finish story. - Tags
forbiddenfaction
: If player is in that faction, he can't start this story.- Optional attribute
action
: What to do with this entry. Possible values are: "add" (add this entry, default option) or "remove" (remove this entry).
- Optional attribute
- Tag
step
contains data for step of story.- Attribute
finish
: condition which must be met to finish this step. Possible values are:askinbase
- go to next step when player ask about something in any or selected base,destroyship
- go to next step when player destroy selected ship,explore
- go to next step when player search selected map field.
- Attribute
- Tags
finishdata
: contains data needed for finish selected step.- Attribute
name
is name of data. Possible values:item
- item index (foraskinbase
andloot
steps),base
- ask in any base (valueany
) or randomly selected (valueselected
) needed foraskinbase
steps. Namesfaction
- index of faction to which ship belongs,ship
- index of ship which must be destroyed (fordestroyship
andloot
steps),random
value if enemy ship should be selected randomly orany
for any enemy ship (forloot
step only). Namesx
andy
are location on map where player must go to progress in story. Valuerandom
mean randomly selected place on map or numeric coordinates of map field. Both used bydestroyship
andexplore
steps. Namecondition
is used by all steps and mean which skill should be used for check did step will progress to next, or valuerandom
for chance. Namechance
is used by all steps and mean chance (1 to that number forrandom
condition or Skill + roll from 1 to 100) that step will progress to next. - Optional attribute
action
: What to do with this entry. Possible values are: "add" (add this entry, default option), "remove" (remove this entry) or "update" (update selected entry).
- Attribute
- Tag
text
: text which will be show to player when step starts.- Attribute
condition
: finish condition of previous step which was lead to this one. Possible values:any
,askinbase
anddestroyship
. - Optional attribute
action
: What to do with this text. Possible values are: "add" (add this text, default option), "remove" (remove this text) or "update" (update selected text).
- Attribute
- Tag
failtext
: text which will be show to player if step not progress to next.
- Default game careers are in careers.dat file which is in data directory.
- If you want to remove or update any existing career, you can do it in
careers.dat file in data directory or in modification file (better
option) add tag
career
with attributeindex
which value will be the index of selected career and attributeaction
. Then, if you modify an existing career, add changed values.
- Each career is between "career" tags.
- Attribute
index
is index of career. - Optional attribute
action
: What to do with this career. Possible values are: "add" (add this career, default option), "remove" (remove this career) or "update" (update selected career). - Attribute
name
is name of career visible to player. - Each career can have bonuses to experience to certain skills. Each that
skill is between
skill
tag.- Attribute
name
is name of skill which will be had bonuses to experience. - Optional attribute
action
: What to do with this skill. Possible values are: "add" (add skill, default option) or "remove" (remove this skill from bonus list).
- Attribute
- Default base types are in bases.dat file which is in data directory.
- If you want to remove or update any existing base type, you can do it in
bases.dat file in data directory or in modification file (better option)
add tag
base
with attributeindex
which value will be the index of selected base type and attributeaction
. Then, if you modify an existing base type, add changed values.
- Each base type is between "base" tags.
- Attribute
index
is a base type index and must be unique for each base type. It can be a number or text. Required - Attribute
name
is a base type name showed to player in game. Should be unique too. Required. - Attribute
color
is a base type color in CSS style used to show this base type to player on the map in game. Required. - Optional attribute
action
: What to do with this entry. Possible values are: "add" (add this entry, default option), "remove" (remove this entry) or "update" (update selected entry). - Tag
item
is used to set prices for selected item in that base.- Attribute
index
: Item index from "items.dat" file. Required. - Attribute
sellprice
: Price for which item is sell in that type of base. If you want to make selected item buyable in that type of base, you must add this attribute. - Attribute
buyprice
: Price for which item will be bought in that type of base. When you want item to have special price in selected type of base you must add this attribute.
- Attribute
- Tag
recipe
is used to set which recipes are available to buy in that type of bases.- Attribute
index
: Index of the recipe to buy, from file "recipes.dat". Required.
- Attribute
- Tag
description
: In game description of selected type of bases. Will be presented to the player during selection of starting base in main menu. - Tag
flags
is various info about selected base type. Possible options are:shipyard
- that base type have shipyard. Ship repairs in that base are 50% cheaper,temple
- that base type allow actionPray
which raise player and the player ship crew members morale, additionally, healing wounded crew members in that base is twice time cheaper,blackmarket
- that base type have random cargo (and normal cargo too, if defined) for sale, additionally, all sold items here can be bought again,barracks
- that base type have more recruits available, and they are cheaper to hire plus they have lower daily payment.
- To edit default game theme, open file theme.tcl in data/ui directory.
- To create new theme, first create new directory in themes directory (by default it is data/themes but you can change it with game starting parameter, see README.md for more info about it). Next, inside new theme directory, create two files: one with extension .cfg(theme configuration file) and second with extension .tcl. Their can have any names.
- To remove theme just delete theme directory from themes directory.
- More information about variables and settings is in default game theme file data/ui/theme.tcl.
- More information about how to set themes in Tk (GUI library used by the game), please look at: https://wiki.tcl-lang.org/page/Changing+Widget+Colors https://tkdocs.com/tutorial/styles.html (Tcl language version)
- All paths in configuration file should be relative paths and use Unix convention for setting them. For example: icons/piloticon.svq will work on Windows and Linux.
- All theme configuration options are standard configuration pairs
key = value
. Example:Name = Default theme
. - Each configuration pair must be in one line.
- Key
Name
: Name of theme. Will be displayed to player in game options when user will be selecting game theme. - Key
FileName
: Name of .tcl file for theme. - Key
EnemyShipIcon
: Hexadecimal number on UTF-8 character used to show Enemy Ship event on map. Optional. - Key
AttackOnBaseIcon
: Hexadecimal number on UTF-8 character used to show Attack on Base event on map. Optional. - Key
DiseaseIcon
: Hexadecimal number on UTF-8 character used to show Disease in Base event on map. Optional. - Key
DoublePriceIcon
: Hexadecimal number on UTF-8 character used to show Double Price on Item in Base event on map. Optional. - Key
FullDocksIcon
: Hexadecimal number on UTF-8 character used to show Full Docks in Base event on map. Optional. - Key
EnemyPatrolIcon
: Hexadecimal number on UTF-8 character used to show Enemy Patrol event on map. Optional. - Key
TraderIcon
: Hexadecimal number on UTF-8 character used to show Trader ship event on map. Optional. - Key
FriendlyShipIcon
: Hexadecimal number on UTF-8 character used to show Friendly Ship event on map. Optional. - Key
DeliverIcon
: Hexadecimal number on UTF-8 character used to show Deliver type mission on map. Optional. - Key
DestroyIcon
: Hexadecimal number on UTF-8 character used to show Destroy Ship type mission on map. Optional. - Key
PatrolIcon
: Hexadecimal number on UTF-8 character used to show Patrol Area type mission on map. Optional. - Key
ExploreIcon
: Hexadecimal number on UTF-8 character used to show Explore Area type mission on map. Optional. - Key
PassengerIcon
: Hexadecimal number on UTF-8 character used to show Transport Passenger type mission on map. Optional. - Key
PilotIcon
: Path to the SVG image which will be used as icon to show Pilot position info. Optional. - Key
EngineerIcon
: Path to the SVG image which will be used to show Engineer position info. Optional. - Key
GunnerIcon
: Path to the SVG image which will be used to show Gunners position info. Optional. - Key
CrewTraderIcon
: Path to the SVG image which will be used to show Trader position info. Optional. - Key
RepairIcon
: Path to the SVG image which will be used to show Repair Ship info when someone works on it. Optional. - Key
NoRepairIcon
: Path to the SVG image which will be used to show Repair Ship info when noone is assigned to repair the ship. Optional. - Key
RepairOrderIcon
: Path to the SVG image which will be used on button to give repair order to the whole crew. Optional. - Key
UpgradeIcon
: Path to the SVG image which will be used to show Upgrade Ship info when someone works on it. Optional. - Key
NoUpgradeIcon
: Path to the SVG image which will be used to show Upgrade Ship info when noone is assigned to upgrade the ship. Optional. - Key
CleanIcon
: Path to the SVG image which will be used to show Clean Ship info. Optional. - Key
NoCleanIcon
: Path to the SVG image which will be used to show Clean Ship info when noone is assigned to clean the ship. Optional. - Key
ManufactureIcon
: Path to the SVG image which will be used to show Manufacturing info. Optional. - Key
NoManufactureIcon
: Path to the SVG image which will be used to show Manufacturing info when noone is assigned to crafting. Optional. - Key
MoveMapUpIcon
: Path to the SVG image which will be used to show on move map up button. Optional. - Key
MoveMapDownIcon
: Path to the SVG image which will be used to show on move map down button. Optional. - Key
MoveMapLeftIcon
: Path to the SVG image which will be used to show on move map left button. Optional. - Key
MoveMapRightIcon
: Path to the SVG image which will be used to show on move map right button. Optional. - Key
NoFuelIcon
: Path to the SVG image which will be used to show warning about lack of fuel. Optional. - Key
LowFuelIcon
: Path to the SVG image which will be used to show warning about low level of fuel. Optional. - Key
NoFoodIcon
: Path to the SVG image which will be used to show warning about lack of food. Optional. - Key
LowFoodIcon
: Path to the SVG image which will be used to show warning about low level of food. Optional. - Key
NoDrinksIcon
: Path to the SVG image which will be used to show warning about lack of drinks. Optional. - Key
LowDrinksIcon
: Path to the SVG image which will be used to show warning about low level of drinks. Optional. - Key
NotVisitedBaseIcon
: Hexadecimal number on UTF-8 character used to show not visited bases on map. Optional. - Key
PlayerShipIcon
: Hexadecimal number on UTF-8 character used to show player ship on map. Optional. - Key
EmptyMapIcon
: Hexadecimal number on UTF-8 character used to show empty spaces on map. Optional. - Key
TargetIcon
: Hexadecimal number on UTF-8 character used to show current player ship destination on map. Optional. - Key
StoryIcon
: Hexadecimal number on UTF-8 character used to show current story even location on map. Optional. - Key
OverloadedIcon
: Path to the SVG image which will be used to show warning about overloaded ship. Optional. - Key
ArrowUpIcon
: Path to the SVG image which will be used to show on move map or the player's ship up. Optional. - Key
ArrowDownIcon
: Path to the SVG image which will be used to show on move map or the player's ship down. Optional. - Key
ArrowLeftIcon
: Path to the SVG image which will be used to show on move map or the player's ship left. Optional. - Key
ArrowRightIcon
: Path to the SVG image which will be used to show on move map or the player's ship right. Optional. - Key
ArrowUpLeftIcon
: Path to the SVG image which will be used on button to move the player's ship up and left. Optional. - Key
ArrowUpRightIcon
: Path to the SVG image which will be used to show on move map or the player's ship up and right. Optional. - Key
ArrowDownRightIcon
: Path to the SVG image which will be used to show on move map or the player's ship down and right. Optional. - Key
ArrowDownLeftIcon
: Path to the SVG image which will be used to show on move map or the player's ship down and left. Optional. - Key
WaitIcon
: Path to the SVG image which will be used on wait one minute button. Optional. - Key
MoveStepIcon
: Path to the SVG image which will be used on move ship one step in path button. Optional. - Key
MoveToIcon
: Path to the SVG image which will be used on move ship to destination button. Optional. - Key
MenuIcon
: Path to the SVG image which will be used on menus buttons. Optional. - Key
ExitIcon
: Path to the SVG image which will be used on close button. Optional. - Key
RandomIcon
: Path to the SVG image which will be used on random button. Optional. - Key
MaleIcon
: Path to the SVG image which will be used for male gender. Optional. - Key
FemaleIcon
: Path to the SVG image which will be used for female gender. Optional. - Key
EditIcon
: Path to the SVG image which will be used for edit buttons. Optional. - Key
ShowIcon
: Path to the SVG image which will be used for show something on map buttons. Optional. - Key
CancelIcon
: Path to the SVG image which will be used for cancel action buttons. Optional. - Key
HelpIcon
: Path to the SVG image which will be used for help action buttons. Optional. - Key
SpecialHelpColor
: The name of the Tcl color used to show special names, like money name and keyboard shortcuts in the help. Optional. - Key
UnderlineHelpColor
: The name of the Tcl color used to show underline text in the help. Optional. - Key
BoldHelpColor
: The name of the Tcl color used to show bold text in the help. Optional. - Key
ItalicHelpColor
: The name of the Tcl color used to show italic text in the help. Optional. - Key
GiveIcon
: Path to the SVG image which will be used for give item button. Optional. - Key
DropIcon
: Path to the SVG image which will be used for drop item button. Optional. - Key
BuyIcon
: Path to the SVG image which will be used for buy item button. Optional. - Key
SellIcon
: Path to the SVG image which will be used for sell item button. Optional. - Key
CraftIcon
: Path to the SVG image which will be used for set crafting order button. Optional. - Key
StudyIcon
: Path to the SVG image which will be used for set study order button. Optional. - Key
DeconstructIcon
: Path to the SVG image which will be used for set deconstruct order button. Optional. - Key
NegotiateIcon
: Path to the SVG image which will be used for negotiate button. Optional. - Key
CargoIcon
: Path to the SVG image which will be used as the player's ship's cargo icon. Optional. - Key
EquipIcon
: Path to the SVG image which will be used for equip item action. Optional. - Key
UnequipIcon
: Path to the SVG image which will be used for unequip item action. Optional. - Key
SelectAllIcon
: Path to the SVG image which will be used for select all items on lists' buttons. Optional. - Key
UnselectAllIcon
: Path to the SVG image which will be used for unselect all items on lists' buttons. Optional. - Key
GiveOrderIcon
: Path to the SVG image which will be used for give order to the crew member button. Optional. - Key
NoPilotIcon
: Path to the SVG image which will be used as icon to show Pilot position info for factions with sentient ships. Optional. - Key
NoEngineerIcon
: Path to the SVG image which will be used as icon to show Engineer position info for factions with sentient ships. Optional. - Key
DestinationIcon
: Path to the SVG image which will be used for set destination button. Optional. - Key
InventoryIcon
: Path to the SVG image which will be used for set the player's ship's crew member's inventory button. Optional. - Key
DismissIcon
: Path to the SVG image which will be used for dismiss the player's ship's crew member button. Optional. - Key
GoRestIcon
: Path to the SVG image which will be used for give order to go rest for the whole the player's ship's crew button. Optional. - Key
RepairPriorityIcon
: Path to the SVG image which will be used for set the repair priority for the selected module button. Optional. - Key
UpgradeButtonIcon
: Path to the SVG image which will be used for setting upgrades for the player's ship modules button. Optional. - Key
PowerIcon
: Path to the SVG image which will be used for enable or disable the player's ship's engine button in the module info dialog. Optional. - Key
AssignCrewIcon
: Path to the SVG image which will be used for assign a crew member as an owner to a module in the player' ship in the module info dialog. Optional. - Key
AssignAmmoIcon
: Path to the SVG image which will be used for assign an ammunition to a gun in the player' ship in the module info dialog. Optional. - Key
BuyDefaultIcon
: Path to the SVG image which will be used for buy item button in the item info dialog in the trade screen. Optional. - Key
SellDefaultIcon
: Path to the SVG image which will be used for sell item button in the item info dialog in the trade screen. Optional. - Key
MoveIcon
: Path to the SVG image which will be used for move item to the player's ship's cargo button in the item info dialog in the inventory screen. Optional. - Key
GiveColoredIcon
: Path to the SVG image which will be used for give item button in the give item dialog. Optional. - Key
DropColoredIcon
: Path to the SVG image which will be used for drop item button in the drop item dialog. Optional. - Key
EditColoredIcon
: Path to the SVG image which will be used for rename button in the rename various things dialogs (like the player's ship, modules, crew members, etc.). Optional. - Key
ShowColoredIcon
: Path to the SVG image which will be used for show something on map on various dialog's buttons. Optional. - Key
NegotiateColoredIcon
: Path to the SVG image which will be used for negotiate button in the negotiate dialog. Optional. - Key
CraftColoredIcon
: Path to the SVG image which will be used for set crafting order button in the assign crafting order dialog. Optional. - Key
StudyColoredIcon
: Path to the SVG image which will be used for set study order button in the assign crafting order dialog. Optional. - Key
DeconstructColoredIcon
: Path to the SVG image which will be used for set deconstruct order button in the assing crafting order dialog. Optional. - Key
GiveOrderColoredIcon
: Path to the SVG image which will be used for give order to the crew member button in the assigning order's dialog. Optional. - Key
FoodIcon
: Path to the SVG image which will be used to show the amount of food. Optional. - Key
FuelIcon
: Path to the SVG image which will be used to show the amount of fuel. Optional. - Key
DrinksIcon
: Path to the SVG image which will be used to show the amount of drinks. Optional. - Key
ExpandIcon
: Path to the SVG image which will be used to expand an section of information, for example in the ship info screen. Optional. - Key
ContractIcon
: Path to the SVG image which will be used to contract an section of information, for example in the ship info screen. Optional. - Key
MoreOptionsIcon
: Path to the SVG image which will be used to show or hide section of options in information, for example UI to search for crew members. Optional. - Key
MapMenuIcon
: Path to the SVG image which will be used on the map's movement menu button. Optional. - Key
MapArrowUpLeftIcon
: Path to the SVG image which will be used on button to move map up and left. Optional. - Key
MapArrowUpRightIcon
: Path to the SVG image which will be used on button to move map up and right. Optional. - Key
MapArrowUpIcon
: Path to the SVG image which will be used on button to move map up. Optional. - Key
MapArrowLeftIcon
: Path to the SVG image which will be used on button to move map left. Optional. - Key
MapArrowRightIcon
: Path to the SVG image which will be used on button to move map right. Optional. - Key
MapArrowDownLeftIcon
: Path to the SVG image which will be used on button to move map down and left. Optional. - Key
MapArrowDownIcon
: Path to the SVG image which will be used on button to move map down. Optional. - Key
MapArrowDownRightIcon
: Path to the SVG image which will be used on button to move map down and right. Optional.
If you want to test your changes, you may run game in debug mode. In this mode
game create file debug.log in the game's data directory and print the messages
to the console. To start game in debug mode run it with parameter
--debug=[debugLevel]
. Example:
./steamsky --debug=all
The levels for debugging are almost identical to the Nim Level enumeration: all, debug, info, notice, warn, error, fatal, none and menu
- info level shows information about loaded the game's resources like enemies, ships, bases types, etc
- debug level adds information about some the game's mechanics, especially related to combat.
- error level adds information about errors which happened in the game, same as normal error reporting.
- menu level just show the game's debug menu, without logging anything.
The last option doesn't create the log file but creates the debug menu instead, for modifying the game's data.