To allow eg more flexibility in mission completion rewards and at the same
time try to reuse as much code as possible, I suggest we move the lists of
what items you can find in which shop from the C source into eg a file
called freedroid.shop_archetypes
The format could be something like
shop="doctor"
LuaCode={
sell_item("A")
sell_item("B")
sell_item("C")
sell_item("D")
if (done_quest("Bender's problem")) then sell_item("E") else
sell_item("F") end
}
This would reuse as much as possible of the code and syntax we already have
while being flexible and powerful enough to let us do whatever we can do in
the dialogs.
Nobody/Anonymous
None
freedroidRPG
Public
|
Date: 2009-11-10 02:26 Hmm, sounds interesting. Would make things feel a bit more real especially |
|
Date: 2009-11-07 18:42 Hi, |