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

Update JSON_INFO.md (bashing cannot be negative) #37186

Merged
merged 5 commits into from
Jan 25, 2020
Merged
Changes from 1 commit
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
20 changes: 10 additions & 10 deletions doc/JSON_INFO.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Use the `Home` key to return to the top.
+ [Monster Factions](#monster-factions)
+ [Monsters](#monsters)
+ [Names](#names)
+ [Profession item substitution](#profession_item_substitution)
+ [Profession item substitution](#profession-item-substitution)
- [`description`](#-description-)
- [`name`](#-name-)
- [`points`](#-points-)
Expand Down Expand Up @@ -70,11 +70,11 @@ Use the `Home` key to return to the top.
+ [Seed Data](#seed-data)
+ [Artifact Data](#artifact-data)
+ [Brewing Data](#brewing-data)
- [`Charge_type`](#charge_type)
- [`Effects_carried`](#effects_carried)
- [`effects_worn`](#effects_worn)
- [`effects_wielded`](#effects_wielded)
- [`effects_activated`](#effects_activated)
- [`Charge_type`](#charge-type)
- [`Effects_carried`](#effects-carried)
- [`effects_worn`](#effects-worn)
- [`effects_wielded`](#effects-wielded)
- [`effects_activated`](#effects-activated)
+ [Software Data](#software-data)
+ [Fuel data](#fuel-data)
+ [Use Actions](#use-actions)
Expand Down Expand Up @@ -541,7 +541,7 @@ There are six -resist parameters: acid, bash, chip, cut, elec, and fire. These a

| Identifier | Description
|--- |---
| `monster` | The monster's id.
| `monster` | Unique ID. The monster's id, equivalent to `name` in other object types.
Jerimee marked this conversation as resolved.
Show resolved Hide resolved
| `freq` | Chance of occurrence, x/1000.
| `cost_multiplier` | How many monsters each monster in this definition should count as, if spawning a limited number of monsters.
| `pack_size` | (_optional_) The minimum and maximum number of monsters in this group that should spawn together. (default: `[1,1]`)
Expand Down Expand Up @@ -1265,8 +1265,8 @@ See also VEHICLE_JSON.md
"price": 100, // Used when bartering with NPCs. For stackable items (ammo, comestibles) this is the price for stack_size charges. Can use string "cent" "USD" or "kUSD".
"price_post": "1 USD", // Same as price but represent value post cataclysm. Can use string "cent" "USD" or "kUSD".
"material": ["COTTON"], // Material types, can be as many as you want. See materials.json for possible options
"cutting": 0, // (Optional, default = 0) Cutting damage caused by using it as a melee weapon
"bashing": -5, // (Optional, default = 0) Bashing damage caused by using it as a melee weapon
"cutting": 0, // (Optional, default = 0) Cutting damage caused by using it as a melee weapon. Cannot be negative?
Jerimee marked this conversation as resolved.
Show resolved Hide resolved
"bashing": 0, // (Optional, default = 0) Bashing damage caused by using it as a melee weapon. Cannot be negative?
Jerimee marked this conversation as resolved.
Show resolved Hide resolved
"to_hit": 0, // (Optional, default = 0) To-hit bonus if using it as a melee weapon (whatever for?)
"flags": ["VARSIZE"], // Indicates special effects, see JSON_FLAGS.md
"magazine_well": 0, // Volume above which the magazine starts to protrude from the item and add extra volume
Expand Down Expand Up @@ -2943,4 +2943,4 @@ Setting of sprite sheets. Same as `tiles-new` field in `tile_config`. Sprite fil
"type": "field_type", // this is a field type
"id": "fd_gum_web", // id of the field
"immune_mtypes": [ "mon_spider_gum" ], // list of monster immune to this field
}
}