ID:268705
Oct 22 2004, 9:26 pm
|
|
Say if you had a resource system, would it be more efficient to have variables for each mob and just edit them as needed, or create objects and just plop them into their inventory?
|
Copyright © 2025 BYOND Software.
All rights reserved.
What's more convenient? It depends. I recommend you use whatever is most suited to your game.
If you do go the object route (which is often the cleanest way to do things) then make sure you have an item-stacking system that can use one item to represent lots of items. It's MUCH more efficient to have one /obj/gold item per player, with an "amount" var equalling 10000, than to have 10000 /obj/gold items.