Modding:JSON/Variables/Weapons

From Starbounder - Starbound Wiki
Jump to: navigation, search
Mining Hazard Sign.png
Work In Progress!
Mining Hazard Sign.png

This article or section is currently in the process of an expansion or major restructuring.
You are welcome to assist in its construction by editing it as well.

Last edited by MelOzone on 2016-08-15 21:53:50.

These variables are defined in an item's JSON file, found in the assets/items folder. Default parameters are defined in defaultparameters.config.

This table is a list of all parameters found in in-game object files. Modders can add parameters to an item's file, but be aware that overwriting one of these parameters may cause problems.

Parameter Name Variable Type Description
rarity string includes: Common, Uncommon, Rare, Legendary
price int Price in pixels. Influences buying/selling/printing etc
maxStack int Stacks up to this number
description string Weapon's description
shortdescription string Weapon's name. For randomly generated weapons the name is also randomly generated from three predefined part sets.
twoHanded bool If true occupies both hands when wielded

Quick Navigation