This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com

Changes

Jump to: navigation, search

Modding:Weapon data

884 bytes added, 19:24, 4 October 2019
Format: + slingshot data
===Melee weapons===
The weapon data in <tt>Data\Weapons.xnb</tt> contains fifteen fields for melee weapons:
308/0/0/4/-1/-1/0/.02/3
{| class="wikitable"
|-
Weapons have a hardcoded category of -98 (<tt>Object.weaponCategory</tt>).
 
===Slingshot===
The [[slingshot]] has initial ID 32 in the weapon data, which increases by one for each upgrade level (up to 34 in the weapon data, though only 32 and 33 are obtainable without mods). All [[#Melee weapons|weapon fields]] must be specified in the weapon data to avoid errors, but only these are actually used for slingshots:
 
{| class="wikitable"
|-
! index
! example value
! description
|-
| 0
| ''Master Slingshot''
| name
|-
| 1
| ''Requires stones for ammo.''
| description
|-
| 9
| ''74''
| The base mine level which affects the probability of [[#Mine container drops|mine container drops]].
|-
| 10
| ''50''
| The minimum mine level for [[#Mine container drops|mine container drops]].
|-
| 14
|
| display name (non-English files only)
|}
 
Slingshot damage is [[Slingshot#Ammunition|calculated dynamically]] regardless of the weapon data.
==Mine container drops==
Protected, translators
5,421
edits

Navigation menu