SphereCommunity
item: resources= - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: item: resources= (/Thread-item-resources)



item: resources= - Diathim - 10-21-2015 05:21 PM

So in the itemdef blocks I notice an odd inconsistency in comparison to other sphere coding. Is there a reason the <amount> is called before the <resource_baseid>? Everywhere else in the code this seems to be a backwards logic in comparison. When compared to how weighed variables and processing newitem=<item_id>,<item_amt>,<item_bounce_uid>

This seems very redundant and inconsistent with the way we process item additions in the game.