Readixyee
665a8c3823
Executions dont switch owner ( #326 )
...
when an building is taken over by another player the execution for it
doesnt change its owner this makes it so when a sam is captured it tries
to intercept your own nukes and doesnt intercept the ones by the
previous player
this change makes executions of buildings automaticly switch their owner
2025-03-27 16:03:15 -07:00
Ilan Schemoul
cb3f36a74f
fix: update dst port when ship captured ( #217 )
2025-03-13 06:31:41 -07:00
Ilan Schemoul
3ce5785d1e
nuke icon ( #207 )
...
- **feat: white nuke icon next to name if player nukes you**

- **feat: red nuke icon if player sends nuke towards you**
-

2025-03-11 15:44:45 -07:00
Ilan Schemoul
c4b8d6b92e
cancel trade if port is captured (no trade inside same country) ( #194 )
...
If the port of destination and of source have same owner it means a
player captures port of another player, we cease all trade that happens
inside same country.
Also added a check in the canTrade code to be more reliable and correct
even outside of the specific case of capturing a port.
2025-03-11 12:33:45 -07:00
Evan
399cf4aab0
optimize trade ships
2025-03-03 14:37:24 -08:00
evanpelle
0a077ebf4d
Merge pull request #100 from d3n0x8/scrollAttackRatio
...
add shift + scroll command in HelpModal hotkeys table
2025-03-02 18:34:04 +01:00
Evan
4ee37323f9
format codebase with prettier
2025-02-01 12:05:11 -08:00
evanpelle
75fe718f16
Combine Unit & MutableUnit
2025-02-01 12:05:11 -08:00
evanpelle
de1dbff570
combine Game & MutableGame
2025-02-01 12:05:11 -08:00
evanpelle
7d15c0c065
combine Player & MutablePlayer interfaces
2025-02-01 12:05:11 -08:00
Evan
f0f5bae79f
thread_split: convert all tile to tileref
2025-02-01 12:05:11 -08:00
Evan
8616e9bfcb
game runs in seperate thread
2025-02-01 12:05:11 -08:00
evanpelle
ff02d9d8b6
have core/ directory use consolex for remote logging
2024-12-18 12:00:00 -08:00
Evan
722165c401
adding persistent id
2024-12-17 14:30:16 -08:00
Evan
05746ebecd
add capture alert
2024-12-13 11:05:01 -08:00
Evan
2816ba1807
don't alert on delete trade ship or shell
2024-12-12 21:12:29 -08:00
evanpelle
ee97ae8197
improve capture trade ship message
2024-12-10 20:28:39 -08:00
evanpelle
e1d22193c1
render emoji on top of name, better trade notification
2024-12-10 20:28:39 -08:00
Evan
a0a40262a6
render trade ship when stopped, hash units
2024-12-03 19:47:27 -08:00
Evan
4899196613
refactor: move worker into worker file
2024-11-29 15:57:39 -08:00
Evan
020d193667
create async path finder, trade ships use async when captured
2024-11-29 15:41:13 -08:00
Evan
3e4f4e42cf
created path finding web worker
2024-11-29 11:34:03 -08:00
Evan
146a7ef657
bugfix: destroys not capturing tradeships
2024-11-25 09:19:22 -08:00
Evan
0b062179ac
ports increase in price, NPC attack more frequently, tradeship destroyed if dst port destroyed or captured
2024-11-24 21:03:09 -08:00
Evan
5431aff30c
NPCs less agressive, trade ship less gold, NPCs recapture after nuke
2024-11-23 21:53:26 -08:00
Evan
a2a6654bf5
fixed bug where each intent was duplicated
...
destroyers find and capture trade ships
ports generate more trade ships
2024-11-22 20:28:58 -08:00
Evan
3f315cd433
display message when trade ship arrives
2024-11-22 15:03:00 -08:00
Evan
371a33b406
fixed units() returning empty when no units specified, moved canBuild logic to PlayerImpl
2024-11-17 12:38:54 -08:00
Evan
8f8de97d9b
remove BuildValidator
2024-11-17 10:33:13 -08:00
Evan
b5a8339eb3
move unit info to config
2024-11-16 21:09:25 -08:00
Evan
b1e1d7263c
Created TradeShips
2024-11-15 20:43:15 -08:00