You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to activate a monster statuette when you're not in a house you get the system message "You must be the owner to use this."
MonsterStatuette.cs:
publicboolIsOwner(Mobilemob)=> BaseHouse.FindHouseAt(this)?.IsOwner(mob)==true;publicoverridevoidOnDoubleClick(Mobilefrom){if(IsOwner(from)){varonOffGump=new OnOffGump(this);from.SendGump(onOffGump);}else{from.SendLocalizedMessage(502691);// You must be the owner to use this.}}
It's only checking if the player is an owner, and not 2 separate checks if they are in a house and if they are the owner of that house.
The text was updated successfully, but these errors were encountered:
This isn't meant to be used outside of a house. So the next question is, should we modify it so GMs can place them anywhere, and suppress player manipulation failure messages?
### Summary
- Generalizes the On/Off toggle items concept
- Updates the OnOffGump so it is static
- Standardizes OnOff items so they can be used by staff
### Notes
Decided to not fix#1417 because it is not clear that the clilocs or errors are for that purpose. Can't test this on OSI anyways.
When attempting to activate a monster statuette when you're not in a house you get the system message "You must be the owner to use this."
MonsterStatuette.cs:
It's only checking if the player is an owner, and not 2 separate checks if they are in a house and if they are the owner of that house.
The text was updated successfully, but these errors were encountered: