1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00
Commit Graph

116 Commits

Author SHA1 Message Date
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