Rename items

Hi,
how can i rename items when i put them in the shop.
For example, the inland water pump , in the shop it is named small generator.
Greetings

im not sure why it wouldn't be using its name variable the name of the item should be set by this line itemname = "Advanced Water Pump",

but it seems like your displayed item is still pulling its information from the CraftItem line

what shop are you using exactly???

Hey , not a shop Plugin.
Just the normal Vending machine.

hmm might just be because the game reads it that way, it still gives the correct item though right?

Yeah that works fine, but you dont see in on the map if you check the shop.
Got other items from another plugin , and there are the changed names in the vending machine.
greetings

yea with normal items you shouldn't have a problem but when it comes to the special items, they are created in a sort of hacky way that might screw with the game engine since im placing items with a prefab that isn't its original, thats how i can get stuff like the refinery to spawn indoors and stuff like the shredder to actually spawn.

Ok thx, i will try  with a shop plugin maybe. Or put a sign above the vending machine ;P

like i would try patching it in the plugin but im not very familiar with how the shop system in rust works.