1. I would love to see GUIShop able to be implemented by interacting with a sign, this will save admins alot of time messing with npc's on wipes.

    I was looking at remotedoors as a base for the code, and modify it somehow to bring up guishop on sign interaction.
     
  2. Thumps up !! Sound like a good one.
     
  3. I would recommend looking at how HumanNPC and GUIShop interact with each other as that is a core mechanics you will want in terms of the interaction between GUIShop mod and a Sign mod, you would most likely need to add a copy altered inside GUIShop so that it will also listen to signs, eg instead of OnNPCUse (do this) create a OnSignShopUse(do this).

    Be warned this is a very very simple/dumbdown explanation as I would not know how to demonstrate it in a more accurate example.
     
  4. Been thinking about this already. Should not be too hard. I'll give it a try.
     
  5. I gave it a shot but its out of my league, ill post the draft of the project outline i was thinking of

    Ability to run a command on a sign (Like Remote Doors) to assign it both a picture and shop type
    /signshop tools
    /signshop clothing
    /signshop ores
    /signshop weapons
    /signshop heavymachinery
    /signshop building
    /signshop explosives
    /signshop medical
    /signshop ammunition
    • Have each category pull from a config file where we can modify image url & what is available / descriptions / command
    • Have the sign be able to be interacted with by all players by pressing e while in range and looking at it
    • Have the sign lock automatically
    • Have the signs call a name just like they interact with humannpc each sign shop category can just be called its own name instead of an id making it a one command job to spawn the different types of shops eliminating all of the huge amounts of different ID's you need to put in every wipe!
    Config would look something like
    zero values will disable on buy or sell to help compress config down

    Code:
            "shop: "exampleshop",
            "imgurl: "http://www.test/ore.jpg",
            "description: "You currently have {0} coins to spend in exampleshop",
    "items": [
            "Leather,21,44,http://vignette4.wikia.nocookie.net/play-rust/images/f/f2/Wood_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061551",
            "Low Grade Fuel,0,200,http://vignette4.wikia.nocookie.net/play-rust/images/f/f2/Wood_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061551",
            "Bone Fragments,21,44,http://vignette4.wikia.nocookie.net/play-rust/images/f/f2/Wood_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061551",
            "Metal Ore,21,44,http://vignette4.wikia.nocookie.net/play-rust/images/f/f2/Wood_icon.png/revision/latest/scale-to-width-down/100?cb=20151106061551"
          ],
     
    Last edited by a moderator: Nov 30, 2015