import Ġworld . greg s . void ps . engine . client . message Ċ import Ġworld . greg s . void ps . engine . entity . character . contain . inventory Ċ import Ġworld . greg s . void ps . engine . entity . character . player . Player Ċ import Ġworld . greg s . void ps . engine . entity . character . player . chat . Chat Type Ċ import Ġworld . greg s . void ps . engine . event . on Ċ import Ġworld . greg s . void ps . world . interact . entity . player . equip . Container Option Ċ Ċ on < Container Option >({ Ġoption Ġ== Ġ" Empty " Ġ}) Ġ{ Ġplayer : ĠPlayer Ġ-> ĊĠĠĠ Ġval Ġreplacement Ġ= Ġwhen Ġ{ ĊĠĠĠĠĠĠĠ Ġitem . id . startsWith (" bucket _ of ") Ġ|| Ġitem . id . endsWith (" comp ost ") Ġ-> Ġ" bucket " ĊĠĠĠĠĠĠĠ Ġitem . id . startsWith (" j ug _ of ") Ġ-> Ġ" j ug " ĊĠĠĠĠĠĠĠ Ġitem . id . startsWith (" pot _ of ") Ġ-> Ġ" empty _ pot " ĊĠĠĠĠĠĠĠ Ġitem . id . startsWith (" b owl _ of ") Ġ-> Ġ" b owl " ĊĠĠĠĠĠĠĠ Ġelse Ġ-> Ġ" v ial " ĊĠĠĠ Ġ} ĊĠĠĠ Ġplayer . inventory . replace ( slot , Ġitem . id , Ġreplacement ) ĊĠĠĠ Ġplayer . message (" You Ġempty Ġthe Ġ${ item . def . name . substring Before (" Ġ( "). lowercase ()}. ", ĠChat Type . Filter ) Ċ } Ċ Ċ on < Container Option >({ Ġoption Ġ== Ġ" Empty ĠD ish " Ġ}) Ġ{ Ġplayer : ĠPlayer Ġ-> ĊĠĠĠ Ġplayer . inventory . replace ( slot , Ġitem . id , Ġ" pie _ dish ") ĊĠĠĠ Ġplayer . message (" You Ġremove Ġthe Ġburn t Ġpie Ġfrom Ġthe Ġpie Ġdis h .", ĠChat Type . Filter ) Ċ } Ċ