Commit graph

30 commits

Author SHA1 Message Date
Anuken
a4bd1dcc6d Mod event support 2020-05-04 17:57:08 -04:00
Anuken
07a4b64b8a Removed unnecessary functional methods / Script cleanup 2020-05-04 00:01:45 -04:00
Anuken
becc23ca42 Cleaner formatting 2020-05-03 21:18:25 -04:00
DeltaNedas
b077cd7fb0
let scripts require from the same mod (#1698)
it seems fine to have
`require("mymod/script")`
e.g. if mods require a lot of scripts and want to organise it
2020-03-26 18:30:34 -04:00
DeltaNedas
9ef394a99e
set current mod to required mod (#1684)
or you will need to prefix mod name in requires of the required mod
instead you now need to prefix current mods name after youve required from another mod
2020-03-07 22:47:12 -05:00
Anuken
89a5c957fd
add mod name to js print() (#1677)
* add mod name to js print()

* add mod name to errors
2020-03-05 15:58:10 -05:00
Anuken
3102931cb4 Removed script wrapper 2020-02-11 17:50:16 -05:00
Anuken
eb87e5f265 Single-script mod case 2020-02-11 16:14:01 -05:00
Anuken
9c2569d4f5
Merge pull request #1477 from DeltaNedas/patch-5
controlled script loading
2020-02-11 16:03:38 -05:00
DeltaNedas
fea9f51513
!dir.exists() and new line 2020-02-03 18:36:17 +00:00
DeltaNedas
c458c77322 cleanup 2020-02-02 13:40:53 +00:00
DeltaNedas
b93692ad41 yes 2020-02-02 13:40:38 +00:00
DeltaNedas
4c45716149 first part of what cat wants 2020-02-02 02:49:47 +00:00
DeltaNedas
51bc5c3b74
local changes 2020-02-01 18:28:25 +00:00
DeltaNedas
a45a14025d
oops 2020-02-01 18:26:38 +00:00
DeltaNedas
e1a215ae0b
wrapper works now 2020-02-01 01:18:18 +00:00
Anuken
63d84bead3 Cleanup 2020-01-31 20:10:21 -05:00
DeltaNedas
d872656bc5
it works sorta! 2020-01-31 23:51:33 +00:00
DeltaNedas
9da505119b
it compiles but cant find module
help
2020-01-30 00:53:05 +00:00
DeltaNedas
677debd475
testing script loading stuff
is not allowed in console, only from `LoadedMod`s.
2020-01-30 00:38:51 +00:00
Anuken
8141361a30 Fix script whitelist 2020-01-24 11:27:47 -05:00
Anuken
f4940fffab Minor tweaks 2020-01-23 18:33:32 -05:00
Anuken
b5258cd809 Fixed #1402 / Fixed #1404 2020-01-20 14:13:20 -05:00
Anuken
b1df52e0c8 Added self-destruct bullet property 2020-01-19 10:43:38 -05:00
Anuken
87b4c37d82 Cleanup of scripts 2020-01-19 09:49:55 -05:00
Anuken
c3d2351b2d Various icon changes 2020-01-17 13:57:04 -05:00
Anuken
4f29c80814 Single-texture font+UI packing 2020-01-16 22:25:57 -05:00
KSean222
d161ba442f Set primitive wrapping to false for scripts (#1302)
* Set primitive wrapping to false for scripts

* Added one newline cause why not
2020-01-02 14:07:38 -05:00
Anuken
c0f14185a8 More fixes 2019-12-25 12:35:23 -05:00
Anuken
514d4817c8 it is done 2019-12-25 01:39:38 -05:00
Renamed from core/src/io/anuke/mindustry/mod/Scripts.java (Browse further)