All pastes #549844 Raw Edit

Unnamed

public lua v1 · immutable
·published 2007-06-08 07:31 UTC
rendered paste body
local bet_cost =  500 function money_check( actor, npc )	if db.actor:money() >= bet_cost then 		return true	end	return falseendfunction bet_check( actor, npc )	if actor:object("wpn_fort") then		return true	end	return falseendfunction win_money (trader, actor)	dialogs.relocate_money(trader, 500, "in")end	function lose_money (trader, actor)	dialogs.relocate_money(trader, 500, "out")end