class Game_Interpreter
def 副业出售
$game_variables[981] = 0 #一键贩售物品
for i in 511..516
$game_variables[981] += $game_party.item_number($data_items)
$game_party.lose_item($data_items,$game_party.item_number($data_items))
end
for i in 521..527
$game_variables[981] += $game_party.item_number($data_items)
$game_party.lose_item($data_items,$game_party.item_number($data_items))
end
for i in 531..538
$game_variables[981] += $game_party.item_number($data_items)
$game_party.lose_item($data_items,$game_party.item_number($data_items))
end
for i in 541..547
$game_variables[981] += $game_party.item_number($data_items)
$game_party.lose_item($data_items,$game_party.item_number($data_items))
end
$game_variables[981] *= 15
$game_party.gain_gold($game_variables[981])
$game_message.texts.push("获得金币#{$game_variables[981]}!")
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |