optimizes transfer (#18943)

* limits belly contetns to 200 items

* there too

* this too

* don't strip blacklisted things

* .

* sometime later

* no remains if belly is full

* this

* just warn for now

* .

* .

* .

* .

* .

* -

* .

* .

* linter

* faster

* .

* .

* optimize

* fix that

* 20 should be ok

* nom atom

* .

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2026-01-04 15:49:25 +01:00
committed by GitHub
co-authored by Cameron Lennox
parent 732a9f218d
commit fb068c5c62
35 changed files with 141 additions and 95 deletions
+3 -3
View File
@@ -25,7 +25,7 @@
pred.init_vore(TRUE)
TEST_ASSERT(pred.vore_selected, "[pred] has no vore_selected")
pred.vore_selected.nom_mob(prey)
pred.vore_selected.nom_atom(prey)
TEST_ASSERT(prey.loc == pred.vore_selected, "Prey not inside predator belly")
@@ -50,7 +50,7 @@
pred.init_vore(TRUE)
TEST_ASSERT(pred.vore_selected, "[pred] has no vore_selected")
pred.vore_selected.nom_mob(prey)
pred.vore_selected.nom_atom(prey)
TEST_ASSERT(prey.loc == pred.vore_selected, "Prey not inside predator belly")
@@ -88,7 +88,7 @@
pred.init_vore(TRUE)
TEST_ASSERT(pred.vore_selected, "[pred] has no vore_selected")
pred.vore_selected.nom_mob(prey)
pred.vore_selected.nom_atom(prey)
TEST_ASSERT(prey.loc == pred.vore_selected, "Prey not inside predator belly")