Modding Help Adding Players name to item description

Discussion in 'Starbound Modding' started by projectmayhem, Apr 20, 2017.

  1. projectmayhem

    projectmayhem Spaceman Spiff

    Is this possible? I'd like to add it to the short description. So when a player crafts a lightsaber, it comes out as <playersName>'s Lightsaber
     
  2. Errors4l

    Errors4l Spaceman Spiff

    The normal crafting stations, pretty sure not.

    If you make your own interface / scripted object, you could simply spawn the item with it's 'shortdescription' parameter modified to include the world.entityName of your player.
     
  3. Cyel

    Cyel Scruffy Nerf-Herder

    I made a quick object to do that, based on the pethealingstation, dunno if it suits your needs:
    [​IMG]
    If yes, perfect, feel free to change it and stuff, if not, you'll probably have to do what errors' said above
     

    Attached Files:

    Last edited: Apr 21, 2017
  4. projectmayhem

    projectmayhem Spaceman Spiff

    I think this will work great, thank you! I'll have to change my Lightsabers to remove the padawan/knight/master/etc from the short description so it doesnt say IAMERROR's Padawan Lightsaber.
     
  5. projectmayhem

    projectmayhem Spaceman Spiff

    I can't tell you how giddy I am with excitement.

     
    Cyel likes this.

Share This Page