Sakura Martinez
Member
I've been trying to add something to an existing Quest script to make it act more of an accept/decline quest thing than just displaying the quest information. However, I seem to be having problems with adding this function.
I've made a command window and with these lines:
I really don't know how to go about it since I am just starting to script, but if anyone can help me with this, it willl be greatly appreciated.
I've made a command window and with these lines:
Code:
class Window_Quest_Accept < Window_Commands
def initialize
super(0, 0, 300, 100)
@commands = ["Accept", "Decline"]
@item_max = @commands.size
self.index = 0
refresh
end
def refresh
self.contents.clear
for i in 0...@item_max
x = 4
y = i
end
end
I really don't know how to go about it since I am just starting to script, but if anyone can help me with this, it willl be greatly appreciated.