grilledham
e7538bf797
added fast_remove to utils.table
2019-01-16 15:19:37 +00:00
Matthew
5dd9ce9f90
Remove math and table as globals. ( #647 )
...
* Remove math and table as globals.
Create exceptions for table.lua and math.lua to modify respective globals and add returns for respective globals.
* Fix lint errors from table and math
2019-01-15 14:27:48 +01:00
Matthew Heguy
3cbc7c4553
Change server color to yellow
2019-01-11 19:12:55 -05:00
Matthew Heguy
df125191c7
Fix bad copy paste? Improve doc
2019-01-11 15:52:25 -05:00
Valansch
7fa83bae6c
Add Tetris ( #605 )
...
Somehow nailed everything on the first try. What a pro.
2019-01-11 13:31:23 -05:00
Matthew
f09ca708ee
Change source option to full stack traceback option ( #630 )
2019-01-11 17:46:12 +01:00
Maik Wild
1eebea55e8
renamed fish_market.lua to market.lua and market_item to currency
2019-01-10 15:18:55 +01:00
Valansch
73a3b7756b
Merge branch 'develop' into event-fixes
2019-01-10 14:38:55 +01:00
grilledham
d74a9fc225
fixed not registering events bug
2019-01-09 22:46:36 +00:00
Matthew Heguy
63100e0590
Fix merge mistake
2019-01-08 12:15:14 -05:00
grilledham
53590ed280
fix typo
2019-01-07 20:05:23 +00:00
grilledham
0b3d796b60
extra documentation + fixed error for removing not registered handlers
2019-01-06 20:58:43 +00:00
grilledham
e57d34cfe2
added comment
2019-01-06 20:56:36 +00:00
grilledham
84597ea1fe
Merge branch 'develop' of https://github.com/Valansch/RedMew into event-fixes
2019-01-06 12:40:39 +00:00
plague006
4c1a94c71e
Change pointer for inspect
2019-01-05 12:38:37 -05:00
Lynn
afec58b440
Admins have regular permissions, commands should reflect this
2019-01-05 18:04:02 +01:00
plague006
8669330b90
Rename q and schedule back to queue and task
2019-01-04 15:02:16 -05:00
Matthew
2bd96d267d
Add source of message to Debug.print ( #623 )
...
ENHANCE debug!
2019-01-03 21:04:09 +01:00
grilledham
ab347734e8
allow removeable event to be added on_init
2019-01-03 17:23:41 +00:00
Matthew
a84dcfdd91
Overhaul commands ( #576 )
...
* Split admin-only commands out of custom commands
Remove free item logging
* Overhaul commands remaining in custom_commands
* Overhaul commands in remaining files
* Change custom_commands to redmew_commands
* Remove follow.lua
2019-01-02 16:34:17 +01:00
Matthew
c2234505f3
Implement server-side color saving ( #566 )
...
* Implement server-side color saving
* Add set_and_return to core utils
2019-01-02 14:42:18 +01:00
Matthew Heguy
7bda4622a1
Add explanation of what core contains
2019-01-01 11:09:01 -05:00
Matthew
31a7b0c7f6
Document utils from factorio's util.lua ( #611 )
...
* Document utils from factorio's util.lua
* Change doc to match suggestion
2019-01-01 16:03:41 +01:00
Lynn
a62fed2b78
Merge branch 'develop' into market-gui-tweaks
2018-12-31 09:22:26 +01:00
plague006
494648f35c
Change custom colors to presets
2018-12-29 12:39:20 -05:00
Lynn
91b4b0f007
Added a distance check for the Retailer market GUI to close
2018-12-29 14:09:26 +01:00
grilledham
d1f2eb5686
Event ( #565 )
...
* First pass at removable events
* added documentation
* added is_closure function
* fixed return multiple values
* is_closure now ignores _ENV
2018-12-28 17:21:45 +01:00
Matthew
012bcffb87
Add random_RGB to utils ( #592 )
2018-12-25 18:54:14 +01:00
Matthew
9282cc974a
Add inspect to utils, change require pointer ( #578 )
2018-12-22 13:49:21 +01:00
Matthew
8d3c32e932
Add dump_env ( #558 )
...
* Add dump_env
* Create new global for env dump
2018-12-22 09:42:19 +01:00
Lynn
5cdb67979a
Added some features to the market GUI ( #564 )
...
* Added some features to the market GUI
* Grouped inputs differently
* Use referenced table instead of copy
2018-12-22 00:39:18 +01:00
Matthew
bcf0c3e85d
Fix issues with silly names ( #559 )
...
* Fix new LuaPlayer created on join.
* Change set_map_extra_info to add_map_extra_info
* Make silly_player and regulars compatible
2018-12-22 00:38:47 +01:00
Valansch
bbc90d3f28
Made tasks throw errors if _DEBUG ( #567 )
...
* Made tasks throw errors if _DEBUG
2018-12-22 00:37:00 +01:00
Valansch
e269656743
Fixed possible gui uid collision ( #563 )
...
* Fixed possible gui uid collision
2018-12-20 14:13:40 +01:00
Matthew
eb892a372e
Add player_reward, add coins as reward for looking at info ( #546 )
...
* Add player_reward, add coins as reward for looking at info
* Remove table entries for completed rewards
2018-12-19 14:56:02 +01:00
Matthew
074ea00c54
Add regulars to potential train station names ( #561 )
...
* Add regulars to potential train station names
* Decrease odds of in-game player and regular, increase odds of backer
* Clarify that _player_ is not the player that placed the entity
* Specify random's use, cover case of nil random_player
2018-12-19 14:43:30 +01:00
grilledham
de8cf8760d
no longer store top_elements in global
2018-12-16 10:58:28 +00:00
grilledham
6cc74b50e8
removed unused variables
2018-12-16 01:41:12 +00:00
grilledham
8bf193db70
fixed typo
2018-12-16 01:39:19 +00:00
grilledham
f45d6d5111
allow player to toggle top buttons visibility
2018-12-16 01:28:00 +00:00
Matthew
238f6b9d7b
Rename task and queue ( #535 )
...
* Rename task and queue to q
* Threading to schedule
* processing_queue to q
2018-12-15 21:28:27 +01:00
Lynn
8e901a4674
Fixed missing format function
2018-12-09 19:24:08 +01:00
Lynn
0fbfe49b2f
AlienEvolutionProgress to utils and uses prototype data
2018-12-09 19:18:16 +01:00
Matthew
c3d7876113
Overhauled day_night_cycle, creep_spread, and nightfall. Add Venus map. ( #524 )
...
* Added dead trees to starting area
* Add shuffle_table to table utilities
* Refine venus, terraforming, nightfall, day_night_cycle
* Overhaul day_night
* Cleanup from day_night overhaul
2018-12-09 16:50:16 +01:00
Lynn
35c916c9b4
Removed unused variables
2018-12-09 00:37:59 +01:00
Lynn
a9d40f74a9
Added a command-search command
2018-12-09 00:34:25 +01:00
Lynn
5e00d9b721
Reduced to a single command
2018-12-06 18:17:51 +01:00
Lynn
39a5b13928
Minor fixes in the config
2018-12-01 22:06:24 +01:00
Lynn
b48731ad50
Merge pull request #492 from plague006/extend_table
...
Add inspect and size to table util
2018-12-01 18:04:24 +01:00
grilledham
b350276472
fixed timestamp bug
2018-12-01 16:30:05 +00:00
Matthew Heguy
c0404c33ac
Add inspect and size to table util
2018-12-01 00:53:54 -05:00
Matthew
55ae4ab093
Merge pull request #443 from iltar/new-command-wrapper
...
Added a new command wrapper to reduce boilerplate
2018-11-30 17:23:37 -05:00
Lynn
fcbae24ff0
table.size -> table_size
2018-11-30 19:29:06 +01:00
Lynn
cb3c9ba1d0
Fixed refactored util import
2018-11-30 19:25:05 +01:00
Lynn
bfe804e2f0
ipairs -> pairs
2018-11-30 19:21:46 +01:00
Lynn
1f99757654
Added a bit more documentation
2018-11-30 19:15:11 +01:00
Lynn
f88b05448e
Using global print if server
2018-11-30 18:50:57 +01:00
Lynn
8cdf747a2e
Improved debug logging and error reporting during development
2018-11-30 18:45:27 +01:00
Lynn
8c0874a10d
Added support to capture excess arguments as sentence
2018-11-30 18:45:27 +01:00
Lynn
9d35776849
Server/Debug/Player only flags and Debug extraction
2018-11-30 18:45:27 +01:00
Lynn
bd1425956f
Added admin check and aggregate errors
2018-11-30 18:43:37 +01:00
Lynn
1dcc5cefdc
Ensured player can be nil in case of being the server
2018-11-30 18:43:37 +01:00
Lynn
eb7de9bc2e
Added a new command wrapper to reduce boilerplate
2018-11-30 18:43:37 +01:00
grilledham
26e375ec7e
extra timestamp functions
2018-11-30 15:55:27 +00:00
grilledham
2a2de3b32e
timestamp helper util
2018-11-30 00:19:02 +00:00
Matthew Heguy
ae29ad21e5
Remove extraneous 'else'
2018-11-27 17:08:27 -05:00
Matthew Heguy
ae024c4e10
utils->core, list_utils->table, overhaul both and updated extant uses
2018-11-27 17:08:26 -05:00
Matthew Heguy
c7201e119b
Rename utils and fix requires
2018-11-27 17:08:26 -05:00
Simon
22c21011ab
Diggy - New leveling system ( #402 )
...
* Basic setup for Force Control
* Buffs transitioned to new level system
Implemented level up buffs (Also made a double value avaliable at certain levels)
Added experience for research, rocket launched, mined rocks
Removing experience on player death. 0.5% of total experience
Added total_experience to ForceControl.lua
Refactored util/game.lua
* Transfered market item unlocks
Made Market Items unlock through the force control system.
Removed stone from mined stone
* Initial conversion of market items to coins
* Started biter killing giving XP
* XP for killing enemies. GUI update
* Made ForceControl.remove_experience return the actual removed experience
* Got my head and mind back, also fixed progress bar saying long numbers
* Changed get_market()
* Brand new formula, CI review changes
* Update CHANGELOG.md
2018-11-24 10:45:43 +01:00
Matthew
b9e360ce3a
Shift command logging to free_item_logging, fix cases of server as actor ( #427 )
...
Shift command logging to free_item_logging, fix cases of server as actor
2018-11-23 18:07:44 +01:00
Matthew
8fb9ae35d7
Add server print on admin_prints ( #430 )
...
* Add server print on admin_prints
2018-11-22 23:04:01 +01:00
plague006
0b2d6e98e9
Add some documentation to list_utils
2018-11-22 04:39:07 -05:00
Matthew
c49f5007fa
Utils cleanup ( #411 )
...
* Clean up unused vars and using same var names
* Autoformat
2018-11-20 11:46:42 +01:00
plague006
fed616ab15
Typo in var name
2018-11-18 19:16:12 -05:00
Valansch
7fa48bc583
Changed all windows style line endings to unix style line endings ( #393 )
2018-11-18 17:12:00 +01:00
Matthew
5beaee7144
Comments to luadoc ( #355 )
...
Add logging to many commands, admin chat notices for a few commands
Overhaul print_admins
2018-11-18 12:59:52 +01:00
Matthew
b24801a8ec
Extend tables library, split on_create and hodor messages from functions ( #357 )
...
* Add table.get_random and table.get_random_weighted
* Rewrite and randomize the messages from on_create
* Split hodor messages resource from function
* Return variable directly instead of adding an extra step
* Change to luadoc
2018-11-17 12:56:03 +01:00
der-dave
3299280c64
Added basic scoretable GUI and moved comma_value to utils
2018-11-16 17:13:45 +01:00
Lynn
aaac2f2b2a
Fixed missing end ( #277 )
2018-11-10 00:54:18 +01:00
Valansch
7624263d8c
Merge branch 'develop' into global_removal
2018-11-09 23:49:23 +01:00
Lynn
675e8fb0f5
Added scrolling text popups and UX for market chests
2018-11-06 21:36:11 +01:00
Valansch
66df4a9a67
made degrees local
2018-11-06 13:09:21 +01:00
Valansch
8562c2663e
removed some _G entries
2018-11-06 12:55:52 +01:00
Maik Wild
4a2e258ff3
moved math functions into math.lua
2018-10-04 17:56:49 +02:00
Valansch
3abd779775
Added math.inv_sqrt2
2018-10-02 23:53:05 +02:00
Maik Wild
a8e883b8ec
added math.sqrt2
2018-10-02 10:08:57 +02:00
Valansch
646d050dd0
Round math.sin instead of approximating it
2018-09-28 18:42:36 +02:00
Valansch
b94f65ba51
Update math_fix.lua
2018-09-28 17:37:09 +02:00
Valansch
d85d969dce
Update math_fix.lua
2018-09-28 17:35:05 +02:00
Maik Wild
b01cef726b
made sin use rads instead of deg
2018-09-28 17:28:01 +02:00
Maik Wild
7e0194996d
replaced math.sin with lua implementation
2018-09-28 16:26:50 +02:00
grilledham
d38a87e9bb
changed Game.players to Game.get_player_by_index(index)
2018-09-23 11:46:58 +01:00
grilledham
f1ef10beb6
Game is now local
2018-09-22 23:25:13 +01:00
grilledham
d232add93f
more to utils + changed implementation
2018-09-22 23:24:47 +01:00
grilledham
594c1fa15b
changed game.player -> Game.player
2018-09-22 21:07:05 +01:00
Maik Wild
0f0df92cd0
moved format_time to utils
2018-08-13 17:03:37 +02:00
Maik Wild
eb9b149617
implemented /report
2018-08-10 19:10:30 +02:00
grilledham
6ba2c75cbd
misc fixes
2018-07-04 16:22:26 +01:00
grilledham
1c2f699676
fixed typo
2018-06-28 18:28:39 +01:00
grilledham
25011dd144
player_list_rewrite
2018-06-27 14:48:04 +01:00