B
Brālis Tezenis
Guest
Good day, please help with an example - you need to understand how to make any object - a fire,a chest,stove unique - that is, that the correct code is processed only when interacting with the right thing
What do you mean?Good day, please help with an example - you need to understand how to make any object - a fire,a chest,stove unique - that is, that the correct code is processed only when interacting with the right thing
I want to make the map unique chest search - how do I make it unique?the name change doesn't helpWhat do you mean?
I don't want nothing new to add - just want to make one Large Wood Storage and it was the only one working code from the plugin and not on all chestsHe wants to add new loot boxes that spawns items like weapon loot box end etc. I think he need rustbuster plugin and server side plugin
import Fougerite
from Fougerite import Entity
...
ent = Entity(World.Spawn(';deploy_wood_storage_large, location.x, location.y, location.z, spawnRot))
no no no??Python:import Fougerite from Fougerite import Entity ... ent = Entity(World.Spawn(';deploy_wood_storage_large, location.x, location.y, location.z, spawnRot))
up??Python:import Fougerite from Fougerite import Entity ... ent = Entity(World.Spawn(';deploy_wood_storage_large, location.x, location.y, location.z, spawnRot))
Then you use those hooks, You can get the inventory of the chest using the 2 hooksI need a box in OnItemRemoved and OnItemAdded
need to he was only in one of the chest - if done like soThen you use those hooks, You can get the inventory of the chest using the 2 hooks
private void Hooks_OnLootUse(LootStartEvent lootStartEvent)
{
if(shop)
{
Hooks.OnItemRemoved += Hooks_OnItemRemoved;
}
}
private void Hooks_OnItemRemoved(InventoryModEvent e)
{
e.Cancel();
}
I need to check the delete and add in 1 chest thingsThen you use those hooks, You can get the inventory of the chest using the 2 hooks