Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

RPG in a Box

Bring your stories and ideas to life! · By Justin Arnold

Release Notes for v0.4.9.3-alpha

A topic by Justin Arnold created Feb 06, 2018 Views: 108 Replies: 1
Viewing posts 1 to 2
(+2)

New Features

  • Added support to the scripting language for random number generation using the syntax “random(x, y)” to generate a number between x and y (inclusive). This can be used in most places where numeric literals are allowed. The example below will give the player a key if the random number is greater than 15, otherwise a potion is given:
    • if random(1, 20) > 15 then
    •      give_item(“Gold Key”)
    • else
    •      give_item(“Health Potion”)
    • end

Bug Fixes

  • Fixed a scripting error that could occur when attempting to compare two numerical values in a conditional expression.
(+1)

Awesome! Thank you! :D