Commit Graph
31 Commits
Author SHA1 Message Date
Spookerton 978f4511a5 examine signature changed to include distance
- distance is INFINITE, 0, or a positive integer based on get_dist() between
the examiner and examinee's turfs when they are on the same Z. When the
examiner is dead or a ghost, distance is always 0.
- also updates /examine( implementations to use it!
- adds w_class_to_name proc for reusing "It is a X item." examine behavior.
2024-01-31 13:49:52 +00:00
klorpaandGitHub f445ffde0a Spelling Fixes (#8973)
* SpellingFixes

* OtherTypos

* OtherTypos
2023-04-08 21:39:28 -08:00
SypsotiandGitHub 589122cd24 Card fixes and QOL (#8996)
* card cleanup and find card verb

* cheat deal plus supply pack

* why was that comment in there
2023-02-26 00:05:47 -08:00
spookerton 1ccb2df2de trivial 1:1 overlays -> overlay proc changes
NB. In some cases we go from a more complex image() to a single icon_state string and I assume this works for every case but do not care to check because of the sheer scale of extra fiddly effort. Buyer beware, not my code.
2022-04-24 07:50:21 +01:00
atermonera 7a9806d9b4 Removes weapons 2022-04-17 19:14:32 -08:00
MistakeNot4892andGitHub 2f0a618d45 /atom New() => Initialize() [MDB IGNORE] (#8298)
* Find and replace argless atom New() to Initialize().

* Manual replacement of no-arg New() to Initialize().

* Manually replacing remaining New() overrides.

* Fixing linter issues with now-removed New() args.

* Tidying area init overrides.

* Porting Neb's atom subsystem.

* Trying to isolate init problems.

* Adjusting Init code post-test.

* Merging duplicate Initialize() procs.

* Merge resolution.
2021-11-14 00:09:14 -08:00
AtermoneraandGitHub a34e3743f1 Fixes discarding cards onto walls (#7800) 2020-12-23 23:09:32 -08:00
Rykka 0c7a7fd2b8 Massive Ambience and Sound Overhaul + Addition, Squashed Commit Edition 2020-08-21 06:53:05 -04:00
Aronai Sieyes ad75bb86bd Alter playsound paradigm 2020-05-19 11:06:28 -04:00
Aronai SieyesandGitHub 6c6644f86c Rewrite examine() to pass a list around (#7038) 2020-04-29 13:42:16 -07:00
Cerebulon f801cc95be Allows precision placement of most items 2020-02-19 21:16:26 +00:00
Heroman3003 e3a7f2adac Fixes deck of cards Pick Up bringing up list of mobs 2019-04-08 10:49:10 +10:00
kevinz000andAtermonera 8da11c17a2 Makes math helpers defines for performance (#5654) 2018-12-06 13:13:59 -08:00
Neerti c25e94938e Buildmode enhancement and removes simple_animal for real this time. 2018-10-24 06:49:41 -04:00
MarinaGryphonandAnewbe 72318d46b6 Replaces most of the gender macros. (#4681)
* Fixes #4632.

* 1:27 am coding best coding

* fixes a warning

* Removes the last of the gender macros. Gender is dead.

* gender II: the travis-ing

* linebreaks are dead too.

* oops i accidentally the gender, also ambiguous gender is now taken into account for get_visible_gender
2018-02-03 14:40:09 -06:00
MarinaGryphonandAnewbe 828b927a4d You can now remove card decks from containers. (#4452)
* You can now remove card decks from containers.

* Typecasting.

* Conditional fixes.
2017-12-22 19:33:13 -06:00
AnsariandAnewbe 952d4871d2 Playing card improvement - Take two (#4140)
* Card rework. For some reason won't run.

* Local man miss quotation mark. More at 12.

* Fix .dme.
2017-10-25 12:20:20 -05:00
Neerti 828dacf485 Centralizes weight class definitions
A lot of new defines are now in inventory_sizes.dm, which contains;
All the size identifiers (the thing that tells the game if something is bulky, or w/e).
Storage costs for all the sizes, which are exponents of two, as previously.
A few constants for inventory size.

Also changes all storage item's capacity definitions by basing it off of how many 'normal slots' exist for it.  This allows one to change the definition for all of the defines in the file, and everything will follow along without needing to change 500 files.  In testing, I made all ITEMSIZE_COST_* defines doubled, and nothing had broke.

The benefit of doing all of this is that it makes adding new weight classes in the future much simpler, and makes knowing how much space a container has easier, as seeing ITEMSIZE_COST_NORMAL * 7 means it can hold seven normal items.
2016-09-22 00:51:51 -04:00
PsiOmegaDeltaandYoshax 2007c143d2 Refactors the forceMove() drop.
Makes dropping a its proc instead, cleaning up forceMove() handling.
2016-09-15 17:11:57 +01:00
Yoshax 38200a3e20 Introduces max record length for record, converts uses of max book length to max paper length barring books 2016-06-27 16:26:31 +01:00
Datraen beda3185eb Reverts the second mob clean up because of incomplete implementation.
This caused an error that would then cause machinery to hang on the server, and was reproduced successfully.
2016-05-04 00:24:55 -04:00
Kelenius df5a0d7941 Mob inventory cleanup
Replaces three item removal procs with one
Adds a proc to delete an item on the mob
2016-03-24 01:23:08 +03:00
Kelenius afbc235b96 Mob inventory cleanup 2016-03-15 16:39:40 +03:00
Zuhayr 7d83a629b0 Added Cards Against The Galaxy. 2016-02-22 09:40:02 +10:30
KearelandYoshax 5727971690 Semi ports Baystation12/Baystation12#11445 2016-01-25 20:35:52 +00:00
PsiOmega 1ae0ad6d92 Updates the atom_pool, now datum_pool, to handle any datum object.
Makes the garbage collector similarly robust. Continues the whole Destroy/qdel porting.
2015-04-24 09:59:05 +02:00
PsiOmega bc438e21ad All the relevant examine changes. 2014-11-05 12:44:23 +01:00
Hubblenaut 37b7c17abd Tweaks and improvements to cards 2014-10-10 18:22:29 +02:00
mwerezak f2845dbe76 Thrown items can be targeted, has miss chance...
...based on distance, similar to projectiles.
2014-07-15 01:14:04 -04:00
Zuhayr 3af608b629 Fixed a couple of oversights with cards. 2014-06-29 09:43:34 +09:30
Zuhayr 102174a40a Added playing cards. 2014-06-07 23:00:11 +09:30