Jump to content

modinfo.lua Online Generator


Recommended Posts

I've made an online modinfo.lua generator. It dynamically generates code for your modinfo.lua, supports importing code, and configuration options.

There are still a few things I want to add but I think it's ready to share.

https://grassdne.github.io/DST-modinfo.lua-Generator/

You can submit an issue on it's Github.

Feature suggestions are welcome.

  • Like 1
  • Thanks 1
  • Sanity 1
Link to comment
Share on other sites

Looks pretty good.

I would suggest adding support for mod dependencies too:

mod_dependencies = {
  {
    workshop = "workshop-XXXXXXXXX"
  },
  {
    ["local-mod"] = false,
  }
}

 

Edited by BlueBeka
Fixed misleading code.
Link to comment
Share on other sites

On 10/4/2021 at 12:50 PM, BlueBeka said:

 

Woops forgot to reply. I do now support these. You can paste in steam workshop links, ids, or the actual "workshop-###" things.

I also just ported the web app to typescript which was the most painful thing I've ever done! But I guess it might help with things down the road.

Link to comment
Share on other sites

Sorry, I got that wrong for workshop dependencies. 

The following is for local dependencies only:

{ ["mod-simple-name"] = false }

.For workshop dependencies it's like this:

{ workshop = "workshop-XXXXXXXXX" }

For reference:

 

 

Link to comment
Share on other sites

1 hour ago, c1n said:

It would be cool if you could also type in emoticons too!

A list of them for use:

Spoiler

    "\243\176\128\128", --  1 F3B08080 red skull
    "\243\176\128\129", --  2 F3B08081 beefalo
    "\243\176\128\130", --  3 F3B08082 chest
    "\243\176\128\131", --  4 F3B08083 chester
    "\243\176\128\132", --  5 F3B08084 crockpot
    "\243\176\128\133", --  6 F3B08085 eyeball
    "\243\176\128\134", --  7 F3B08086 teeth
    "\243\176\128\135", --  8 F3B08087 farmplot
    "\243\176\128\136", --  9 F3B08088 flame
    "\243\176\128\137", -- 10 F3B08089 ghost
    "\243\176\128\138", -- 11 F3B0808A tomb stone
    "\243\176\128\139", -- 12 F3B0808B ham bat
    "\243\176\128\140", -- 13 F3B0808C hammer
    "\243\176\128\141", -- 14 F3B0808D heart
    "\243\176\128\142", -- 15 F3B0808E hunger
    "\243\176\128\143", -- 16 F3B0808F light bulb
    "\243\176\128\144", -- 17 F3B08090 pig man
    "\243\176\128\145", -- 18 F3B08091 poop
    "\243\176\128\146", -- 19 F3B08092 red gem
    "\243\176\128\147", -- 20 F3B08093 sanity
    "\243\176\128\148", -- 21 F3B08094 science machine
    "\243\176\128\149", -- 22 F3B08095 skull
    "\243\176\128\150", -- 23 F3B08096 top hat
    "\243\176\128\151", -- 24 F3B08097 web
    "\243\176\128\152", -- 25 F3B08098 swords
    "\243\176\128\153", -- 26 F3B08099 strong arm
    "\243\176\128\154", -- 27 F3B0809A gold nugget
    "\243\176\128\155", -- 28 F3B0809B torch
    "\243\176\128\156", -- 29 F3B0809C abigail flower
    "\243\176\128\157", -- 30 F3B0809D alchemy machine
    "\243\176\128\158", -- 31 F3B0809E backpack
    "\243\176\128\159", -- 32 F3B0809F beehive
    "\243\176\128\160", -- 33 F3B080A0 berry bush
    "\243\176\128\161", -- 34 F3B080A1 carrot
    "\243\176\128\162", -- 35 F3B080A2 egg
    "\243\176\128\163", -- 36 F3B080A3 eyeplant
    "\243\176\128\164", -- 37 F3B080A4 firepit
    "\243\176\128\165", -- 38 F3B080A5 beefalo horn
    "\243\176\128\166", -- 39 F3B080A6 big meat
    "\243\176\128\167", -- 40 F3B080A7 diamond
    "\243\176\128\168", -- 41 F3B080A8 salt
    "\243\176\128\169", -- 42 F3B080A9 shadow manipulator
    "\243\176\128\170", -- 43 F3B080AA shovel
    "\243\176\128\171", -- 44 F3B080AB thumbs up
    "\243\176\128\172", -- 45 F3B080AC rabbit trap
    "\243\176\128\173", -- 46 F3B080AD trophy
    "\243\176\128\174", -- 47 F3B080AE waving hand
    "\243\176\128\175", -- 48 F3B080AF wormhole

 

They're unicode characters, but this is the ASCII-safe representation of it in UTF8 encoding.

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

I added support for emoticons. You can put them in in the input as you would in in-game chat with surrounding colons as a delimiter, although no autocomplete features *yet.*

Spoiler

870256574_ScreenShot2021-11-04at7_48_02PM.thumb.png.1e99721a2061503cb618a5ec71de221f.png

If you want the literal text :red skull: for some reason, you can put it in double colons ::red skull::

Spoiler

2042970557_ScreenShot2021-11-04at7_48_33PM.thumb.png.9aa578e478d7e58fc8698cfaf0b59339.png

In game result:

Spoiler

1159268881_ScreenShot2021-11-04at7_54_01PM.thumb.png.5500eafe9758bd1e649b42126fc8d150.png

 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...