Debian Codegraph @

scripts/resources.lua

raw symbols SCIP
1 local gl = require 'gl'
2 local blueprints = require 'blueprints'
3 local v2 = require 'dokidoki.v2'
4
5 -- some resources to start with
6 amount = 60
7
8 harvest_rate = 0.75
9
10 function update()
11 -- build resources over time
12 amount = amount + harvest_rate
13 end