Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various fixes and additions #100

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
e8cfcfd
Update ConstructionSite.js
KyberPrizrak Jan 20, 2024
018018f
Update Creep.js
KyberPrizrak Jan 20, 2024
3f911f8
Update Creep.js
KyberPrizrak Jan 20, 2024
23629fd
Update Creep.js
KyberPrizrak Jan 20, 2024
2ed4bf2
Update Deposit.js
KyberPrizrak Jan 20, 2024
65292d9
Update Flag.js
KyberPrizrak Jan 20, 2024
345c3f7
Update Flag.js
KyberPrizrak Jan 20, 2024
33738ed
Update Mineral.js
KyberPrizrak Jan 20, 2024
98de777
Update Nuke.js
KyberPrizrak Jan 20, 2024
1521733
Update OwnedStructure.js
KyberPrizrak Jan 20, 2024
f1a1594
Update Tombstone.js
KyberPrizrak Jan 20, 2024
de1cea2
Update Structure.js
KyberPrizrak Jan 20, 2024
e74ec2a
Update Store.js
KyberPrizrak Jan 20, 2024
5c00942
Update Source.js
KyberPrizrak Jan 20, 2024
f596954
Update Ruin.js
KyberPrizrak Jan 20, 2024
179cd62
Update RoomVisual.js
KyberPrizrak Jan 20, 2024
644046d
Update Creep.js
KyberPrizrak Jan 20, 2024
64ba9ca
Update RoomPosition.js
KyberPrizrak Jan 21, 2024
5335df2
Update RoomObject.js
KyberPrizrak Jan 21, 2024
1a25c34
Update RoomObject.js
KyberPrizrak Jan 21, 2024
767c146
Update Room.js
KyberPrizrak Jan 21, 2024
9956657
Update Resource.js
KyberPrizrak Jan 21, 2024
8382b40
Update RawMemory.js
KyberPrizrak Jan 21, 2024
74f8368
Update PowerCreep.js
KyberPrizrak Jan 21, 2024
48f376c
Update PathFinder.js
KyberPrizrak Jan 21, 2024
d466cbd
Update Order.js
KyberPrizrak Jan 21, 2024
b8688df
Update StructureContainer.js
KyberPrizrak Jan 21, 2024
dbb0658
Update StructureWall.js
KyberPrizrak Jan 21, 2024
8595f19
Update StructureTower.js
KyberPrizrak Jan 21, 2024
bca9203
Update StructureTerminal.js
KyberPrizrak Jan 21, 2024
824e67c
Update StructureStorage.js
KyberPrizrak Jan 21, 2024
da9c17b
Update StructureSpawn.js
KyberPrizrak Jan 21, 2024
ee82c3e
Update StructureRoad.js
KyberPrizrak Jan 21, 2024
59b5670
Update StructureRampart.js
KyberPrizrak Jan 21, 2024
74629f9
Update StructurePowerSpawn.js
KyberPrizrak Jan 21, 2024
95d2464
Update StructurePowerBank.js
KyberPrizrak Jan 21, 2024
561873b
Update StructurePortal.js
KyberPrizrak Jan 21, 2024
e5047cc
Update StructureObserver.js
KyberPrizrak Jan 21, 2024
d31de7d
Update StructureNuker.js
KyberPrizrak Jan 21, 2024
185dbae
Update StructureLink.js
KyberPrizrak Jan 21, 2024
575faf6
Update StructureLab.js
KyberPrizrak Jan 21, 2024
b10f6d1
Update StructureKeeperLair.js
KyberPrizrak Jan 21, 2024
71c5fd3
Update StructureInvaderCore.js
KyberPrizrak Jan 21, 2024
47a1108
Update StructureFactory.js
KyberPrizrak Jan 21, 2024
e40ea24
Update StructureExtractor.js
KyberPrizrak Jan 21, 2024
1fece7a
Update StructureExtension.js
KyberPrizrak Jan 21, 2024
fcfd410
Update StructureController.js
KyberPrizrak Jan 21, 2024
64f3234
Update Game.js
KyberPrizrak Jan 21, 2024
d85918f
Create InterShardMemory.js
KyberPrizrak Jan 21, 2024
3dd5d1a
Update Tombstone.js
KyberPrizrak Jan 22, 2024
650dba4
Update RoomPosition.js
KyberPrizrak Jan 22, 2024
337d3e5
Update Deposit.js
KyberPrizrak Jan 22, 2024
70bc330
Update PowerCreep.js
KyberPrizrak Jan 22, 2024
a1de700
Update PowerCreep.js
KyberPrizrak Jan 22, 2024
50c3555
Update Room.js
KyberPrizrak Jan 22, 2024
2d5fa31
Update Room.js
KyberPrizrak Jan 22, 2024
e1b7af3
Update Game.js
KyberPrizrak Jan 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update StructureRampart.js
  • Loading branch information
KyberPrizrak authored Jan 21, 2024
commit 59b5670c80fd26e988973c79c0c69401e7ef845a
10 changes: 6 additions & 4 deletions Structures/StructureRampart.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/**
* Blocks movement of hostile creeps, and defends your creeps and structures on the same tile.
* Can be used as a controllable gate.
*
* @class
* @extends {OwnedStructure}
*
* @see {@link https://docs.screeps.com/api/#StructureRampart.}
* @see {@link https://docs.screeps.com/api/#StructureRampart}
*/
StructureRampart = function() { };

Expand All @@ -18,6 +19,7 @@ StructureRampart.prototype =
* @type {boolean}
*/
isPublic: false,

/**
* The amount of game ticks when this rampart will lose some hit points.
*
Expand All @@ -34,9 +36,9 @@ StructureRampart.prototype =
*
* @type {function}
*
* @param {boolean} Whether this rampart should be public or non-public..
* @param {boolean} isPublic Whether this rampart should be public or non-public.
*
* @return {OK|ERR_NOT_OWNER}
* @return {number|OK|ERR_NOT_OWNER}
*/
setPublic: function(isPublic) { },
setPublic: function(isPublic) { }
};