mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 15:15:00 +00:00
Removes commented code
This commit is contained in:
@@ -89,26 +89,6 @@ end
|
||||
|
||||
SWAP_HAT_POSITIONS_CAPTION = "Switch hats position"
|
||||
|
||||
#unused
|
||||
# def set_hat_adapter_options(adapter)
|
||||
# slot1_hat = $Trainer.hat ? "Swap #{get_hat_by_id($Trainer.hat).name}" : "(Empty slot)"
|
||||
# slot2_hat = $Trainer.hat2 ? "Swap #{get_hat_by_id($Trainer.hat2).name}" : "(Empty slot)"
|
||||
# options = [slot1_hat,slot2_hat]
|
||||
# options << SWAP_HAT_POSITIONS_CAPTION if $Trainer.hat && $Trainer.hat2
|
||||
# options << "Cancel"
|
||||
# hat_options_choice = optionsMenu(options)
|
||||
# if options[hat_options_choice] == SWAP_HAT_POSITIONS_CAPTION
|
||||
# switchHatsPosition()
|
||||
# return nil
|
||||
# end
|
||||
# if hat_options_choice == options.length #cancel
|
||||
# return nil
|
||||
# end
|
||||
# is_secondary = hat_options_choice ==1
|
||||
# adapter.set_secondary_hat(is_secondary)
|
||||
# return adapter
|
||||
# end
|
||||
|
||||
#is_secondary only used for hats
|
||||
def openSelectOutfitMenu(stock = [], itemType =nil, is_secondary=false)
|
||||
adapter = getAdapter(itemType, stock, false, is_secondary)
|
||||
@@ -145,38 +125,6 @@ def changeHatMenu(is_secondary_hat = false)
|
||||
openSelectOutfitMenu(stock, :HAT, is_secondary_hat)
|
||||
end
|
||||
|
||||
# def changeOutfit()
|
||||
# hat1_name = get_hat_by_id($Trainer.hat) ? get_hat_by_id($Trainer.hat).name : "(Empty)"
|
||||
# hat2_name = get_hat_by_id($Trainer.hat2) ? get_hat_by_id($Trainer.hat2).name : "(Empty)"
|
||||
#
|
||||
# commands = []
|
||||
# commands[cmdClothes = commands.length] = _INTL("Change clothes")
|
||||
# commands[cmdHat = commands.length] = _INTL("Change hat 1 (#{hat1_name})")
|
||||
# commands[cmdHat2 = commands.length] = _INTL("Change hat 2 (#{hat2_name})")
|
||||
# commands[switchHats = commands.length] = _INTL("Switch hat positions")
|
||||
# commands[cmdQuit = commands.length] = _INTL("Quit")
|
||||
#
|
||||
# #TODO change this into a graphical menu with icons
|
||||
# loop do
|
||||
# cmd = pbMessage(_INTL("What would you like to do?"), commands, cmdQuit + 1)
|
||||
# if cmd == cmdClothes
|
||||
# changeClothesMenu()
|
||||
# break
|
||||
# elsif cmd == cmdHat
|
||||
# changeHatMenu()
|
||||
# break
|
||||
# elsif cmd == cmdHat2
|
||||
# changeHatMenu(true)
|
||||
# break
|
||||
# elsif cmd == switchHats
|
||||
# switchHatsPosition()
|
||||
# break
|
||||
# else
|
||||
# break
|
||||
# end
|
||||
# end
|
||||
# end
|
||||
|
||||
def changeOutfit()
|
||||
commands = []
|
||||
commands[cmdHat = commands.length] = _INTL("Change hat")
|
||||
|
||||
Reference in New Issue
Block a user