24.12.2012, 02:11
I've started working on my business system. Below is the format for creating a business:
I'm stumped, though, because I can't think of a (good) way to retrieve the exit coords once the player specified the interior id. I was going to create a stock which would return the coords for the given ID (based off the wiki) except, as you most likely know, some interiors share the same universe ID.
I tried looking at some other systems but that didn't help out very much.
One idea I had was to assign a custom ID to each set of exit coordinates on the wiki, and have the player choose from the custom ID set when creating a business, instead of the default ones. But that would be a long and confusing task, there surely has to be an easier method. Ideas, anyone?
pawn Код:
/createbiz [name] [interior id] [type] [price]
I tried looking at some other systems but that didn't help out very much.
One idea I had was to assign a custom ID to each set of exit coordinates on the wiki, and have the player choose from the custom ID set when creating a business, instead of the default ones. But that would be a long and confusing task, there surely has to be an easier method. Ideas, anyone?