Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- obj
- Clothing
- Shirt
- icon='NormalShirt.dmi'
- verb
- Drop()
- src.loc=locate(usr.x,usr.y-1,usr.z)
- Get()
- set src in oview(1)
- src.loc = usr
- usr<<"You picked up [src]"
- Wear()
- usr.clothing = "Shirt"
- var/clothingred = input("How much red do you want to put into your clothing?") as num
- var/clothingblue = input("How much blue do you want to put into your clothing?") as num
- var/clothinggreen = input("How much green do you want to put into your clothing?") as num
- var/clothingover = 'NormalShirt.dmi'
- clothingover += rgb(clothingred,clothinggreen,clothingblue)
- usr.Oclothing = clothingover
- usr.clothing = usr.Oclothing
- usr.overlays += usr.clothing
- Remove()
- usr.overlays -= usr.clothing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement