Skip to content

Commit ca07375

Browse files
authored
Mark a bunch of /world vars as unsupported (#2408)
1 parent f654f15 commit ca07375

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

DMCompiler/DMStandard/Types/World.dm

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
var/byond_version = DM_VERSION
3030
var/byond_build = DM_BUILD
3131

32-
var/version = 0 as opendream_unimplemented
32+
var/version = 0 as num|opendream_unsupported //only used to notify users on the hub - unsupported due to no hub
3333

3434
var/address
3535
var/port = 0 as opendream_compiletimereadonly
3636
var/internet_address = "127.0.0.1" as opendream_unimplemented
3737
var/url as opendream_unimplemented
38-
var/visibility = 0 as opendream_unimplemented
39-
var/status as opendream_unimplemented
38+
var/visibility = 0 as num|opendream_unimplemented //used to control server appearing on the hub - this will have to use ServerStatusCode.Offline/Online
39+
var/status = "" as text|opendream_unimplemented //used to display a message appearing under the server on the hub - this will have to use the server desc on the hub
4040
var/process
4141
var/list/params = null
4242

@@ -45,14 +45,14 @@
4545
var/const/system_type as opendream_noconstfold
4646

4747
var/map_cpu = 0 as opendream_unimplemented
48-
var/hub as opendream_unimplemented
49-
var/hub_password as opendream_unimplemented
48+
var/hub = "" as text|opendream_unsupported //used to mark a game as unique on the hub - unsupported due to no hub
49+
var/hub_password = "" as text|opendream_unsupported //authentication for above - unsupported due to no hub
5050
var/reachable as opendream_unimplemented
51-
var/game_state as opendream_unimplemented
52-
var/host as opendream_unimplemented
51+
var/game_state = 0 as num|opendream_unsupported //used to display server joinability on the hub - does not actually affect joining - unsupported due to no hub
52+
var/host = "" as text|opendream_unsupported //contains the key of the world's host - unsupported as OD server does not run as a user
5353
var/map_format = TOPDOWN_MAP as opendream_unimplemented
54-
var/cache_lifespan = 30 as opendream_unimplemented
55-
var/executor as opendream_unimplemented
54+
var/cache_lifespan = 30 as num|opendream_unsupported //used to control cache expiry in RSC - unsupported due to no RSC
55+
var/executor = "" as text|opendream_unsupported // DMCGI nonsense - there will be no ODCGI
5656

5757
// An OpenDream read-only var that tells you what port Topic() is listening on
5858
// Remove OPENDREAM_TOPIC_PORT_EXISTS if this is ever removed

0 commit comments

Comments
 (0)