Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magiclysm name to object, flags to array, delete duplicate items #39106

Merged
merged 3 commits into from
Mar 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions data/mods/Magiclysm/enchanted/enchanted_melee.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"id": "bat_plus_one",
"copy-from": "bat",
"looks_like": "bat",
"name": "bat +1",
"name": { "str": "bat +1", "str_pl": "bats +1" },
"proportional": { "price": 3.0, "bashing": 1.1, "cutting": 1.1, "weight": 0.9 },
"relative": { "to_hit": 1 }
},
Expand All @@ -121,7 +121,7 @@
"id": "bat_plus_two",
"copy-from": "bat",
"looks_like": "bat",
"name": "bat +2",
"name": { "str": "bat +2", "str_pl": "bats +2" },
"proportional": { "price": 6.0, "bashing": 1.2, "cutting": 1.2, "weight": 0.8 },
"relative": { "to_hit": 2 }
},
Expand All @@ -130,7 +130,7 @@
"id": "bat_metal_plus_one",
"copy-from": "bat_metal",
"looks_like": "bat_metal",
"name": "aluminum bat +1",
"name": { "str": "aluminum bat +1", "str_pl": "aluminum bats +1" },
"proportional": { "price": 3.0, "bashing": 1.1, "cutting": 1.1, "weight": 0.9 },
"relative": { "to_hit": 1 }
},
Expand All @@ -139,7 +139,7 @@
"id": "bat_metal_plus_two",
"copy-from": "bat_metal",
"looks_like": "bat_metal",
"name": "aluminum bat +2",
"name": { "str": "aluminum bat +2", "str_pl": "aluminum bats +2" },
"proportional": { "price": 6.0, "bashing": 1.2, "cutting": 1.2, "weight": 0.8 },
"relative": { "to_hit": 2 }
},
Expand Down Expand Up @@ -328,7 +328,7 @@
"id": "arming_sword_plus_one",
"copy-from": "arming_sword",
"looks_like": "arming_sword",
"name": "arming sword +1",
"name": { "str": "arming sword +1", "str_pl": "arming swords +1" },
"proportional": { "price": 3.0, "bashing": 1.1, "cutting": 1.1, "weight": 0.9 },
"relative": { "to_hit": 1 }
},
Expand All @@ -337,7 +337,7 @@
"id": "arming_sword_plus_two",
"copy-from": "arming_sword",
"looks_like": "arming_sword",
"name": "arming sword +2",
"name": { "str": "arming sword +2", "str_pl": "arming swords +2" },
"proportional": { "price": 6.0, "bashing": 1.2, "cutting": 1.2, "weight": 0.8 },
"relative": { "to_hit": 2 }
},
Expand All @@ -364,7 +364,7 @@
"id": "battleaxe_plus_one",
"copy-from": "battleaxe",
"looks_like": "battleaxe",
"name": "battle axe +1",
"name": { "str": "battle axe +1", "str_pl": "battle axes +1" },
"proportional": { "price": 3.0, "bashing": 1.1, "cutting": 1.1, "weight": 0.9 },
"relative": { "to_hit": 1 }
},
Expand All @@ -373,7 +373,7 @@
"id": "battleaxe_plus_two",
"copy-from": "battleaxe",
"looks_like": "battleaxe",
"name": "battle axe +2",
"name": { "str": "battle axe +2", "str_pl": "battle axes +2" },
"proportional": { "price": 6.0, "bashing": 1.2, "cutting": 1.2, "weight": 0.8 },
"relative": { "to_hit": 2 }
},
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Magiclysm/enchanted/enchanted_rings.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"copy-from": "mring_gold",
"type": "TOOL_ARMOR",
"id": "mring_dodge_bonus_2",
"name": "bicephalous eel ring",
"name": { "str": "bicephalous eel ring" },
"description": "A thin gold band ring, depicting a bicephalous eel coiled on itself. Allows you to dodge two extra attacks per turn.",
"relic_data": { "passive_effects": [ { "has": "WORN", "condition": "ALWAYS", "values": [ { "value": "BONUS_DODGE", "add": 2 } ] } ] }
},
Expand Down
4 changes: 2 additions & 2 deletions data/mods/Magiclysm/enchanted/enchanted_tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"copy-from": "mtoken",
"type": "GENERIC",
"id": "mtoken_arming_sword",
"name": "arming sword token",
"name": { "str": "arming sword token" },
"description": "A large silver coin that, when activated by uttering the word on the back, turns into the item pictured on the front, in this case an arming sword.",
"use_action": {
"type": "transform",
Expand Down Expand Up @@ -57,7 +57,7 @@
"copy-from": "mtoken",
"type": "GENERIC",
"id": "mtoken_battleaxe",
"name": "battleaxe token",
"name": { "str": "battleaxe token" },
"description": "A large silver coin that, when activated by uttering the word on the back, turns into the item pictured on the front, in this case a battle axe.",
"use_action": {
"type": "transform",
Expand Down
2 changes: 1 addition & 1 deletion data/mods/Magiclysm/items/armor.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
{
"id": "quiver_birchbark",
"name": "birchbark quiver",
"name": { "str": "birchbark quiver" },
"copy-from": "quiver_birchbark",
"type": "ARMOR",
"use_action": { "type": "bandolier", "capacity": 20, "ammo": [ "arrow", "bolt", "arrow_orichalcum" ], "draw_cost": 20 }
Expand Down
97 changes: 26 additions & 71 deletions data/mods/Magiclysm/items/black_dragon_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,50 +268,6 @@
"encumbrance": 28,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "STURDY" ]
},
{
"id": "helmet_xlblack_dragon_scale",
"copy-from": "helmet_black_dragon_scale",
"type": "ARMOR",
"name": "XL black dragonscale helmet",
"description": "A massive helmet made from black dragonscale, held together with black dragonhide. It comes equipped with a full face visor and is large enough to fit even the strangest of heads.",
"weight": "1256 g",
"volume": "4500 ml",
"encumbrance": 42,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "STURDY" ]
},
{
"id": "helmet_xlblack_dragon_hide",
"copy-from": "helmet_black_dragon_hide",
"type": "ARMOR",
"name": "XL black dragonhide helmet",
"description": "A massive helmet made from black dragonhide. It protects your head well, and doesn't cover your face, but is large enough to fit even the strangest of heads.",
"weight": "815 g",
"volume": "4500 ml",
"encumbrance": 42,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "STURDY" ]
},
{
"id": "suit_xlblack_dragon_scale",
"copy-from": "suit_black_dragon_scale",
"type": "ARMOR",
"name": "XL black dragonscale armor",
"description": "A massive full suit of black dragon scale mail. It comes with all the accoutrements that cover your torso, legs, and arms; sized to fit even the strangest of bodies.",
"weight": "6250 g",
"volume": "18 L",
"encumbrance": 35,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "RAINPROOF", "STURDY" ]
},
{
"id": "suit_xlblack_dragon_hide",
"copy-from": "suit_black_dragon_hide",
"type": "ARMOR",
"name": "XL black dragonhide armor",
"description": "A massive full suit of black dragonhide armor. It comes with all the accoutrements that cover your torso, legs, and arms; sized to fit even the strangest of bodies.",
"weight": "5500 g",
"volume": "18 L",
"encumbrance": 28,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "RAINPROOF", "STURDY" ]
},
{
"id": "gauntlets_xlblack_dragon_scale",
"copy-from": "gauntlets_black_dragon_scale",
Expand Down Expand Up @@ -360,7 +316,7 @@
"id": "helmet_xlblack_dragon_scale",
"copy-from": "helmet_black_dragon_scale",
"type": "ARMOR",
"name": "XL black dragonscale helmet",
"name": { "str": "XL black dragonscale helmet" },
"description": "A massive helmet made from black dragonscale, held together with black dragonhide. It comes equipped with a full face visor and is large enough to fit even the strangest of heads.",
"weight": "1256 g",
"volume": "4500 ml",
Expand All @@ -371,7 +327,29 @@
"id": "helmet_xlblack_dragon_hide",
"copy-from": "helmet_black_dragon_hide",
"type": "ARMOR",
"name": "XL black dragonhide helmet",
"name": { "str": "XL black dragonhide helmet" },
"description": "A massive helmet made from black dragonhide. It protects your head well, and doesn't cover your face, but is large enough to fit even the strangest of heads.",
"weight": "815 g",
"volume": "4500 ml",
"encumbrance": 42,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "STURDY" ]
},
{
"id": "helmet_xlblack_dragon_scale",
"copy-from": "helmet_black_dragon_scale",
"type": "ARMOR",
"name": { "str": "XL black dragonscale helmet" },
"description": "A massive helmet made from black dragonscale, held together with black dragonhide. It comes equipped with a full face visor and is large enough to fit even the strangest of heads.",
"weight": "1256 g",
"volume": "4500 ml",
"encumbrance": 42,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "STURDY" ]
},
{
"id": "helmet_xlblack_dragon_hide",
"copy-from": "helmet_black_dragon_hide",
"type": "ARMOR",
"name": { "str": "XL black dragonhide helmet" },
"description": "A massive helmet made from black dragonhide. It protects your head well, and doesn't cover your face, but is large enough to fit even the strangest of heads.",
"weight": "815 g",
"volume": "4500 ml",
Expand All @@ -382,7 +360,7 @@
"id": "suit_xlblack_dragon_scale",
"copy-from": "suit_black_dragon_scale",
"type": "ARMOR",
"name": "XL black dragonscale armor",
"name": { "str": "XL black dragonscale armor" },
"description": "A massive full suit of black dragon scale mail. It comes with all the accoutrements that cover your torso, legs, and arms; sized to fit even the strangest of bodies.",
"weight": "6250 g",
"volume": "18 L",
Expand All @@ -393,34 +371,11 @@
"id": "suit_xlblack_dragon_hide",
"copy-from": "suit_black_dragon_hide",
"type": "ARMOR",
"name": "XL black dragonhide armor",
"name": { "str": "XL black dragonhide armor" },
"description": "A massive full suit of black dragonhide armor. It comes with all the accoutrements that cover your torso, legs, and arms; sized to fit even the strangest of bodies.",
"weight": "5500 g",
"volume": "18 L",
"encumbrance": 28,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "RAINPROOF", "STURDY" ]
},
{
"id": "gauntlets_xlblack_dragon_scale",
"copy-from": "gauntlets_black_dragon_scale",
"type": "ARMOR",
"name": { "str": "pair of XL black dragonscale gauntlets", "str_pl": "pairs of XL black dragonscale gauntlets" },
"description": "A pair of heavy-duty gauntlets made of black dragonscale that covers your hands, or whatever you use as hands.",
"weight": "680 g",
"volume": "2 L",
"encumbrance": 30,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "STURDY" ]
},
{
"id": "gloves_xlblack_dragon_hide",
"copy-from": "gloves_black_dragon_hide",
"type": "ARMOR",
"name": { "str": "pair of XL black dragonhide gloves", "str_pl": "pairs of XL black dragonhide gloves" },
"description": "A pair of customized, Kevlar armored leather gloves, modified to be easy to wear while providing maximum protection under extreme conditions. Sized to fit even the strangest of anatomy.",
"weight": "430 g",
"volume": "1500 ml",
"price": 180000,
"encumbrance": 18,
"flags": [ "OVERSIZE", "VARSIZE", "WATERPROOF", "STURDY" ]
}
]
4 changes: 2 additions & 2 deletions data/mods/Magiclysm/items/class_runes.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@
"type": "TOOL",
"symbol": "=",
"color": "black",
"name": "alchemist rune",
"name": { "str": "alchemist rune" },
"description": "This magical pebble has an insignia of alchemy and potions on it. While versatile in use, the lack of attunement to any school prevents creation of more advanced recipes.",
"volume": "5ml",
"weight": "1 g",
"material": "stone",
"flags": "TRADER_AVOID"
"flags": [ "TRADER_AVOID" ]
}
]
2 changes: 1 addition & 1 deletion data/mods/Magiclysm/items/ethereal_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
{
"id": "acid_res_aura",
"type": "ARMOR",
"name": "acid resistance aura",
"name": { "str": "acid resistance aura" },
"description": "An all-encompassing, invisible layer of protection against acid.",
"weight": "1g",
"volume": "1ml",
Expand Down
4 changes: 2 additions & 2 deletions data/mods/Magiclysm/items/weapons.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
{
"id": "lizardfolk_javelin",
"type": "GENERIC",
"name": "barbed javelin",
"name": { "str": "barbed javelin" },
"category": "weapons",
"copy-from": "javelin",
"//": "A barbed version of the standard javelin (from spears_and_polearms.json) with a different description to match the lizardfolk lore. Not craftable, but wieldable if discovered.",
Expand All @@ -44,7 +44,7 @@
"id": "lizardfolk_javelin_gun",
"type": "GUN",
"copy-from": "fake_item",
"name": "barbed javelin",
"name": { "str": "barbed javelin" },
"description": "Fake gun that fires barbed javelins.",
"flags": [ "NEVER_JAMS", "NONCONDUCTIVE", "NO_REPAIR", "WATERPROOF_GUN", "NO_SALVAGE", "NO_UNLOAD" ],
"skill": "rifle",
Expand Down