RobustToolbox
RobustToolbox copied to clipboard
Fluent dot attributes for custom prototypes
trafficstars
Right now localized prototype looks like this:
- type: reagent
id: Ephedrine
name: reagent-name-ephedrine
desc: reagent-desc-ephedrine
physicalDesc: reagent-physical-desc-powdery
It's painful to work with. We can replace it by fluent dot attributes like it's done for entity prototypes:
reagent-ephedrine = ephedrine
.desc = Increases stun resistance and movement speed, giving you hand cramps. Overdose deals toxin damage and inhibits breathing.
.physical-desc = {reagent-physical-desc-odorless}