SirTroy
Bürger
Code:
scn TrueCitizenScript
short Done
short MainControl
short Button
short Clothing
short Spell
begin Gamemode
if MainControl == 0
if player.getitemcount Headskullcrime >= 10
messagebox "Als Treuer Bürger habt ihr Unrecht und Übel in Cyrodiil bekämpft und zehn Kopfgelder gesammelt. Nun möchte euch belohnen. Wählt eure Belohnung!", "Aurüstung des Treuen Bürgers", "Eigenschaft des Treuen Bürgers", "Trunk des Treuen Bürgers", "Ruhm", "Kopfgeld löschen", "Auszahlen"
player.removeitem Headskullcrime 10
set Done to 0
set Button to GetButtonPressed
set MainControl to 1
endif
endif
if Done == 0 && MainControl == 1
if Button == -1
Set Button to GetButtonPressed
elseif Button == 0
if Clothing == 0
player.additem TrueCitizenShoes 1
player.additem TrueCitizenPants 1
player.additem TrueCitizenHemd 1
player.additem TrueCitizenCapy 1
player.additem TrueCitizenAmulet 1
player.additem TrueCitizenRing 1
message "Ihr habt alle Ausrüstungsteile erhalten"
set Done to 1
endif
elseif Button == 1
if Spell == 0
player.addspell TrueCitizen1Disease
player.addspell TrueCitizen2Health
player.addspell TrueCitizen3Elements
player.addspell TrueCitizen4Shield
player.addspell TrueCitizen5Restore
player.addspell TrueCitizen6Spell
message "Ihr habt alle Eigenschaften erhalten"
set Done to 1
endif
elseif Button == 2
player.additem TrueCitizenDrink 1
set Done to 1
elseif Button == 3
Player.modpcfame 10
Player.modpcinfamy -5
set Done to 1
elseif Button == 4
player.setcrimegold 0
set Done to 1
elseif Button == 5
player.additem Gold001 500
set Done to 1
endif
set MainControl to 0
endif
end