Finished colors for other prespawned pillbottles, new colors, finished template for changing wrappers in chemmaster

This commit is contained in:
Arkatos1
2019-06-30 16:08:33 +02:00
parent e6dca3ffa1
commit d33d018e62
6 changed files with 99 additions and 15 deletions
@@ -133,6 +133,11 @@
if(loaded_pill_bottle)
loaded_pill_bottle.forceMove(loc)
loaded_pill_bottle = null
else if(href_list["change_pillbottle"])
if(loaded_pill_bottle)
loaded_pill_bottle.wrapper_color = COLOR_RED;
loaded_pill_bottle.apply_wrap();
usr << browse(null, "window=chem_master_iconsel")
else if(href_list["close"])
usr << browse(null, "window=chem_master")
onclose(usr, "chem_master")