i can't believe kevin made me code

im taking severe offense to this
This commit is contained in:
Fabian
2021-03-05 19:55:53 +01:00
parent c4eebe56a5
commit 7f38564838
13 changed files with 318 additions and 23 deletions
+3
View File
@@ -13,6 +13,9 @@
#define UNSETEMPTY(L) if (L && !length(L)) L = null
#define LAZYCOPY(L) (L ? L.Copy() : list() )
#define LAZYREMOVE(L, I) if(L) { L -= I; if(!length(L)) { L = null; } }
//ambition port start
#define LAZYCUT(L, S, E) if((length(L) >= S) && (E == 0 || length(L) >= (E - 1))) { L.Cut(S, E); if(!length(L)) { L = null; } }
//ambition port end
#define LAZYADD(L, I) if(!L) { L = list(); } L += I;
#define LAZYOR(L, I) if(!L) { L = list(); } L |= I;
#define LAZYFIND(L, V) L ? L.Find(V) : 0
+5
View File
@@ -491,6 +491,11 @@
currrent_category = A.roundend_category
previous_category = A
result += A.roundend_report()
//ambition port start
for(var/count in 1 to LAZYLEN(A.owner.ambitions))
result += "<br><B>Ambition #[count]</B>: [A.owner.ambitions[count]]"
//ambition port end
result += "<br><br>"
CHECK_TICK