Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
New spells, hanging spells, spell containers, partial training system w/books
  • Loading branch information
foulman committed Jul 21, 2020
1 parent 33b3853 commit ab5ce5d
Show file tree
Hide file tree
Showing 9 changed files with 752 additions and 66 deletions.
75 changes: 75 additions & 0 deletions items/books.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
[
{
"id": "spm_book_thaumaturgy_1",
"type": "BOOK",
"name": { "str": "Introduction to Thaumaturgy", "str_pl": "Intorduction to Thaumaturgies" },
"description": "A basic text on Thaumaturgy, used by starting students of magic.",
"weight": "600 g",
"volume": "400 ml",
"price": 4500,
"price_postapoc": 50000,
"material": [ "paper" ],
"symbol": "?",
"color": "light_blue",
"skill": "thaumaturgy",
"max_level": 2,
"intelligence": 10,
"time": "60 m",
"fun": -1
},
{
"id": "spm_book_thermomancy_1",
"type": "BOOK",
"name": { "str": "Introduction to Thermomantics", "str_pl": "Intorduction to Thermomantics" },
"description": "A basic text on Thermomantics, used by starting students of magic.",
"weight": "600 g",
"volume": "400 ml",
"price": 4500,
"price_postapoc": 50000,
"material": [ "paper" ],
"symbol": "?",
"color": "light_blue",
"skill": "thermomancy",
"max_level": 2,
"intelligence": 10,
"time": "60 m",
"fun": -1
},
{
"id": "spm_book_psychomancy_1",
"type": "BOOK",
"name": { "str": "Introduction to psychomantics", "str_pl": "Intorduction to psychomantics" },
"description": "A basic text on psychomantics, used by starting students of magic.",
"weight": "600 g",
"volume": "400 ml",
"price": 4500,
"price_postapoc": 50000,
"material": [ "paper" ],
"symbol": "?",
"color": "light_blue",
"skill": "psychomancy",
"max_level": 2,
"intelligence": 10,
"time": "60 m",
"fun": -1
},
{
"id": "spm_book_physiomancy_1",
"type": "BOOK",
"name": { "str": "Introduction to physiomantics", "str_pl": "Intorduction to physiomantics" },
"description": "A basic text on physiomantics, used by starting students of magic.",
"weight": "600 g",
"volume": "400 ml",
"price": 4500,
"price_postapoc": 50000,
"material": [ "paper" ],
"symbol": "?",
"color": "light_blue",
"skill": "physiomancy",
"max_level": 2,
"intelligence": 10,
"time": "60 m",
"fun": -1
}

]
118 changes: 93 additions & 25 deletions items/items.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,21 @@
"name": "Warmagi Marker",
"description": "This is a placeholder object to determine what class you are for crafting purposes. You can't drop it.",
"volume": "1 ml",
"weight": "1 g",
"qualities": [ [ "WM", 1 ] ],
"flags": [ "PERSONAL", "TRADER_AVOID", "NO_SALVAGE", "PSEUDO", "NO_TAKEOFF", "NO_REPAIR" ]
},
{
"id": "mage_marker",
"type": "TOOL_ARMOR",
"symbol": "*",
"color": "red",
"name": "Mage Marker",
"description": "This is a placeholder object to determine what class you are for crafting purposes. You can't drop it.",
"volume": "1 ml",
"weight": "1 g",
"qualities": [ [ "MAGE", 1 ] ],
"flags": [ "PERSONAL", "TRADER_AVOID", "NO_SALVAGE", "PSEUDO", "NO_TAKEOFF", "NO_REPAIR" ]
},
{
"id": "wm_mageblade_std",
"type": "TOOL",
Expand Down Expand Up @@ -51,7 +62,7 @@
"symbol": "*",
"color": "light_green",
"covers": [ "HEAD" ],
"flags": [ "LIGHT_10", "AURA", "SEMITANGIBLE" ]
"flags": [ "LIGHT_20", "AURA", "SEMITANGIBLE" ]
},
{
"type": "TOOL",
Expand All @@ -60,64 +71,121 @@
"price_postapoc": 500000,
"name": { "str": "tiny irionite chip" },
"symbol": "=",
"color": "light_gray",
"color": "light_green",
"looks_like": "pebble",
"description": "A sliver of a translucent green amber of incredible potency. Irionite can magnify the expression of a mage's power by several orders of magnitude.",
"description": "A sliver of a translucent green amber of incredible potency. Irionite, or witchstone, can magnify the expression of a mage's power by several orders of magnitude.",
"material": "glass",
"volume": "5 ml",
"weight": "3 g",
"volume": "1 ml",
"weight": "1 g",
"relic_data": {
"passive_effects": [ { "has": "HELD", "condition": "ALWAYS", "values": [ { "value": "MAX_MANA", "multiply": 2 }, { "value": "REGEN_MANA", "multiply": 3 } ] } ]
},
"effects": [ "NEVER_MISFIRES" ]
"use_action": [
{
"type": "cast_spell",
"spell_id": "spm_gather_mana",
"no_fail": true,
"need_wielding": false,
"level": 10
}
]
},
{
"type": "ARMOR",
"id": "wm_spell_container",
"type": "TOOL_ARMOR",
"id": "spm_spell_container_novice",
"name": { "str": "hung spell container" },
"description": "This holds spells that are hung for later casting.",
"symbol": "O",
"color": "light_gray",
"volume": "1 ml",
"weight": "1 g",
"price": "3000 USD",
"flags": [ "TARDIS", "AURA" ],
"flags": [ "TARDIS", "AURA", "NO_TAKEOFF", "NO_SALVAGE", "NO_TRADE" ],
"pocket_data": [
{
"pocket_type": "CONTAINER",
"moves": 0,
"moves": 1,
"max_contains_volume": "500 L",
"max_contains_weight": "1 kg",
"max_item_volume": "50 L",
"max_item_length": "3 meter",
"max_item_volume": "500 L",
"max_item_length": "12 meter",
"spoil_multiplier": 0,
"weight_multiplier": 0.0,
"volume_multiplier": 0.0,
"rigid": false,
"magazine_well": "500 L",
"flag_restriction": [ "DANGEROUS" ]
"rigid": true,
"item_restriction": [ "spm_hung_force_bolt", "spm_hung_str_boost" ]
}
]
},
{
"abstract": "wm_hung_spell",
"abstract": "spm_hung_spell",
"type": "COMESTIBLE",
"name": "hung spell template",
"category": "tools",
"weight": "1 g",
"volume": "50 L",
"symbol": "h",
"category": "spells",
"comestible_type": "food",
"volume": "1 L",
"calories" : 0,
"spoils_in": "1 m",
"rot_spawn_chance": 100,
"rot_spawn": "GROUP_EGG_CHICKEN",
"symbol": "h",
"color": "pink",
"flags": [ "NO_SALVAGE", "NO_INGEST", "DANGEROUS", "TRADER_AVOID", "NUTRIENT_OVERRIDE" ]
"phase": "solid",
"flags": [ "NO_SALVAGE", "TRADER_AVOID", "NUTRIENT_OVERRIDE", "INEDIBLE" ]
},
{
"id": "wm_hung_str_boost",
"copy-from": "wm_hung_spell",
"id": "spm_hung_str_boost",
"copy-from": "spm_hung_spell",
"type": "COMESTIBLE",
"name": { "str": "hung spell - Strength Boost" },
"description": "A hung spell of Strength Boost.",
"color": "white",
"use_action": { "type": "cast_spell", "spell_id": "wm_str_boost", "no_fail": true, "level": 1 }
"use_action": { "type": "cast_spell", "spell_id": "spm_str_boost", "no_fail": true, "level": 10, "moves": 200 }
},
{
"id": "spm_hung_force_bolt",
"copy-from": "spm_hung_spell",
"type": "COMESTIBLE",
"name": { "str": "hung spell - force bolt" },
"description": "A hung spell of force bolt.",
"color": "white",
"use_action": { "type": "cast_spell", "spell_id": "spm_force_bolt", "no_fail": true, "level": 10, "moves": 100 }
},
{
"id": "spm_hung_fire_bolt",
"copy-from": "spm_hung_spell",
"type": "COMESTIBLE",
"name": { "str": "hung spell - fire bolt" },
"description": "A hung spell of fire bolt.",
"color": "white",
"use_action": { "type": "cast_spell", "spell_id": "spm_fire_bolt", "no_fail": true, "level": 10, "moves": 100 }
},
{
"id": "spm_hung_shock_bolt",
"copy-from": "spm_hung_spell",
"type": "COMESTIBLE",
"name": { "str": "hung spell - shock bolt" },
"description": "A hung spell of shock bolt.",
"color": "white",
"use_action": { "type": "cast_spell", "spell_id": "spm_shock_bolt", "no_fail": true, "level": 10, "moves": 100 }
},
{
"id": "spm_hung_force_bolt_spray",
"copy-from": "spm_hung_spell",
"type": "COMESTIBLE",
"name": { "str": "hung spell - force bolt spray" },
"description": "A hung spell of force bolt spray.",
"color": "white",
"use_action": { "type": "cast_spell", "spell_id": "spm_force_bolt_spray", "no_fail": true, "level": 10, "moves": 100 }
},
{
"id": "spm_hung_blackfire_bolt",
"copy-from": "spm_hung_spell",
"type": "COMESTIBLE",
"name": { "str": "hung spell - blackfire bolt" },
"description": "A hung spell of blackfire bolt.",
"color": "white",
"use_action": { "type": "cast_spell", "spell_id": "spm_blackfire_bolt", "no_fail": true, "level": 10, "moves": 100 }
}

]
29 changes: 11 additions & 18 deletions modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ident": "thaumaturgy",
"name": "thaumaturgy",
"display_category": "display_interaction",
"description": "Your skill and knowledge of not only the science of magic, but a scientific understanding of the universe, which is required to manipulate it."
"description": "Your skill and knowledge of not only the science of magic, but a scientific understanding of the universe, which is required to manipulate it properly."
},
{
"type": "skill",
Expand Down Expand Up @@ -56,34 +56,27 @@
"ident": "photomancy",
"name": "photomancy",
"display_category": "display_interaction",
"description": "Your skill and knowledge involving light and illusions."
"description": "Your skill and knowledge involving light, illusions, obfuscation, stealth, and even assassination."
},
{
"type": "skill",
"ident": "hydromancy",
"name": "hydromancy",
"ident": "physiomancy",
"name": "physiomancy",
"display_category": "display_interaction",
"description": "Your skill and knowledge involving water and ice."
"description": "Your skill and knowledge involving magic as applied to living bodies, health, healing, and diseases."
},
{
"type": "skill",
"ident": "geomancy",
"name": "geomancy",
"ident": "warmagic",
"name": "warmagic",
"display_category": "display_interaction",
"description": "Your skill and knowledge involving the element of earth."
"description": "Your skill and knowledge involving magic as applied to offensive and defensive actions in combat, harming, killing, and destroying foes and obstacles. Not easy to learn outside of an Imperial War College."
},
{
"type": "skill",
"ident": "umbramancy",
"name": "umbramancy",
"ident": "warding",
"name": "warding",
"display_category": "display_interaction",
"description": "Your skill and knowledge involving magical obfuscation and stealth."
},
{
"type": "skill",
"ident": "biomancy",
"name": "biomancy",
"display_category": "display_interaction",
"description": "Your skill and knowledge involving magic as applied to health, healing, and diseases."
"description": "Your skill and knowledge involving magic as applied to enhancing and manipulating substances or areas, strengthening, preventing harmful events like fire, and protection."
}
]
53 changes: 53 additions & 0 deletions mutations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[
{
"type": "mutation",
"id": "SPM_MUT_STEALTH",
"name": { "str": "Optical Blending" },
"points": 1,
"description": "Disguised by photomancy to appear nondescript, you are harder to notice at a distance.",
"starting_trait": false,
"stealth_modifier": 60,
"anger_relations": [ [ "ZOMBIE", -150 ] ]
},
{
"id": "spm_concealment_item",
"type": "ARMOR",
"description": "You wear it.",
"volume": "1 ml",
"symbol": "*",
"color": "light_gray",
"name": { "str": "stealth field", "str_pl": "stealth fields" },
"relic_data": {
"passive_effects": [
{ "has": "WORN", "condition": "ALWAYS", "mutations": [ "SPM_MUT_STEALTH" ] }
]
},
"flags": [ "TRADER_AVOID", "AURA", "NO_SALVAGE" ]
},
{
"id": "spm_concealment",
"type": "SPELL",
"name": "Concealment",
"description": "This is the first spell any mage learns, designed to teach them to manipulate magic to accomplish many minor tasks with a minimum of effort. Eventually this becomes reflexive and you can simply do things at will with no spell casting required, just using background mana.",
"valid_targets": [ "self" ],
"effect": "spawn_item",
"effect_str": "spm_concealment_item",
"flags": [ "SILENT", "NO_HANDS", "NO_LEGS", "NO_FAIL" ],
"energy_source": "MANA",
"skill": "photomancy",
"base_casting_time": 500,
"final_casting_time": 500,
"base_energy_cost": 600,
"final_energy_cost": 600,
"difficulty": 3,
"max_level": 5,
"min_damage": 1,
"max_damage": 1,
"min_duration": 36000,
"max_duration": 36000
}




]
Loading

0 comments on commit ab5ce5d

Please sign in to comment.