Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- id=1500
- name=Mülltonne
- group=building,ext,kirschkaffee
- icon=gfx\icons\barrel.bmp
- model=gfx\barrel.b3d
- health=200
- mat=wood
- param=rot,1
- maxweight=30000
- script=start
- on:start {
- local $this;
- $this=currentid();
- }
- on:build_finish {
- event "start";
- }
- on:use {
- msgbox "Mülltonne","scripts\mill.s2s","trashbin";
- button 0,"Müll reinwerfen",12,"event gettrash,object,$this; closemenu;";
- button 1,"Müll vernichten",3,"event cleartrash,object,$this; closemenu;";
- button 2,"Juhu!",17, "closemenu;";
- }
- on:gettrash {
- exchange "self";
- }
- on:cleartrash {
- msgbox "Abfrage","scripts\mill.s2s","abfrage";
- button 1,"Ja ich bin sicher",17,"freestored object,$this,all; closemenu;";
- button 2,"Hm lieber nochmal nachschauen.",19,"event gettrash,object,$this; closemenu;";
- }
- script=end
- ###mill.s2s
- //~trashbin
- Mal wieder zuviel Mist angesammelt? Dann rein damit in die Mülltonne.
- //~abfrage
- Alle eingelagerten Gegenstände werden vernichtet. Bist du sicher?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement