Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hardware Tycoon

Design and sell hardware to outdo the competition in this free tycoon! · By hi

Create a programming language for the Mod Creation Tool!

A topic by kurt created Jun 18, 2021 Views: 207 Replies: 2
Viewing posts 1 to 2

Hi there. I'm GaryGD, and I've been responsible for making some of the most downloaded mods of all time. However, I have a suggestion for the Mod Creation Tool.

Introducing. ModScript!
It's a programming language I came up with to fit the Mod Creation Tool. It's a Lua library dedicated for the game!

I've been thinking about it like this:

local CPU1 = {
  Speed = 1200,--speed in kilohertz
  Points = 200, --points needed to research the CPU
  UnlockDate = 1975, --date unlocked
  Package = "DIP", --the package of the chip
  Pins = 25, --the number of pins
  XpReq = 220, --the XP required to be able to research the chip
  xPos = 6, --pos of where the box for the chip is
  Cost = 5000, --amount of money needed
  Cores = 1, --number of cores
  Image = "DIP24" --image
  Time = 70, --time needed to research the CPU
  Performance = 36, --performance of the chip
  Stability = 5.6, --the stability of the chip
  Build = 13.4, --the build quality
  Researched = false --check if the chip has been researched

}

Yes, the library hasn't been created yet, but it would be interesting to see this in the mod tool itself!
(this could be added in 0.3 :eyes:)

Anyways, cheers!

It would make more sense to store the data as a JSON instead, since Hardware Tycoon is a fancy web app. My priority with .htmod was to make the files small and easily shareable, not human-readable, but you can edit them using a text editor too.

I see.