mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Overhauls control.lua template (#1)
* Overhauls control.lua template
- Adds buffering of received free-samples items.
- Players with a full inventory will receive new items as space becomes
available.
- Players who do not yet exist in the world will receive all free samples
upon joining.
- When receiving new technologies, announce the technology BEFORE marking
it as researched so that it appears before its free samples in the log.
- If receiving a half-stack of free samples, use math.ceil on the division
in case a mod uses an odd number as a stack size... or a stack size of 1
- Handle free_samples logic in the Lua side rather than as part of a Jinja
template. This makes this hopefully more adaptable to a future setup
where all the rando information is shipped as startup settings.
* Apparently, I'm supposed to give myself credit. Or something.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2021 Berserker55
|
||||
Copyright (c) 2021 Berserker55 and Dewiniaid
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "archipelago-client",
|
||||
"version": "0.0.1",
|
||||
"title": "Archipelago",
|
||||
"author": "Berserker",
|
||||
"author": "Berserker and Dewiniaid",
|
||||
"homepage": "https://archipelago.gg",
|
||||
"description": "Integration client for the Archipelago Randomizer",
|
||||
"factorio_version": "1.1"
|
||||
|
||||
Reference in New Issue
Block a user