MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / augmentScripts

Method augmentScripts

source/game/items/StarAugmentItem.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21StringList AugmentItem::augmentScripts() const {
22 return jsonToStringList(instanceValue("scripts")).transformed(bind(&AssetPath::relativeTo, directory(), _1));
23}
24
25ItemPtr AugmentItem::applyTo(ItemPtr const item) {
26 return Root::singleton().itemDatabase()->applyAugment(item, this);

Callers 1

applyAugmentMethod · 0.80

Calls 2

jsonToStringListFunction · 0.85
transformedMethod · 0.45

Tested by

no test coverage detected