View Issue Details

IDProjectCategoryView StatusLast Update
0000168LDMud 3.5Compilation, Installationpublic2011-11-22 21:38
ReporterlarsAssigned To 
Status feedbackResolutionopen 
Summary0000168: 'Location' argument to set_environment()
DescriptionShort: modified set_environment()
From: Tatu P Saloranta <>
Date: Fri, 18 Dec 1998 14:47:26 +0200 (EET)
Type: Feature
State: Unclassified

I just compiled LDMud, and noticed there were actually few other efuns
I had hacked into Amylaar GD... Some aren't probably useful for anyone
else out there, but others might be. Although I don't want to add yet
another dozen of esoteric efuns to GD, I think it'd be good to discuss
about possible useful new additions anyway. So, here's my list:

- 3rd (optional) argument to efun308() (ie. "set_environment()"). As the mudlib
  of the mud in question sorts the inventories (putting 'similar' items
  next to each other), it needs to be able to decide where in the linked
  list to put objects to. This is done by supplying an optional argument,
  the object after which the 'moved' object is to be put. Although
  in the perfect world inventory-handling probably should be completely
  done by objects (rooms, containers), there's no built-in linked list
  datatype, and array-handling in LPC introduces significant overhead...
  Thus driver-handled inventory handling still has its uses IMO. I won't
  include code here, but it's a trivial addition and I can mail the
  changes necessary if need be.

Note: Problem is the add_action()-Handling.
TagsNo tags attached.



2011-02-19 22:35

administrator   ~0002003

I don't like to add this. Very few people need something like this and it breaks the scheme, that the inventory (all_inventory()) is ordered according to insertion time into the environment (so the last object was added after all the ones before).


2011-02-22 00:06

manager   ~0002021

Hmm, I don't have a use for it right now, but I think it's not a bad idea to give the mudlib more control over the inventory list.

Issue History

Date Modified Username Field Change
2004-11-26 22:06 lars New Issue
2011-02-19 22:35 zesstra Note Added: 0002003
2011-02-19 22:35 zesstra Assigned To => zesstra
2011-02-19 22:35 zesstra Status new => feedback
2011-02-19 22:35 zesstra Project LDMud => LDMud 3.5
2011-02-22 00:06 Gnomi Note Added: 0002021
2011-11-22 21:38 zesstra Assigned To zesstra =>
2011-11-22 21:38 zesstra Category Efuns => Compilation, Installation
2011-11-22 21:38 zesstra Product Version 3.2.8 and before =>